Work in HR? Unlock Free Profile

Cerner Velocity Software Engineer Interview Question

I interviewed in Kansas City, MO and was asked:
"Explain about the Access specifiers in C# or any other language?"
Tags: technical, c#, programming
Add Tags [?]

Part of a Velocity Software Engineer Interview Review - one of 609 Cerner Interview Reviews

Answers & Comments

of 0

In java:
Access modifiers are public, protected, private.

Public members are accessible within it's class, outside it's class (includes across packages, subclasses)
Protected members are only accessible within it's class, subclasses and same package.
Private members are only accessible within it's own class. (not even subclasses or same package. But there are ways to go around this.)

- Nard on Aug 14, 2012

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.