CppBuzz.com
  
Home C C++ Java Python Perl PHP SQL Javascript Linux Forum

You are here : Home » Java » Java Interview Questions on Modifiers

Java Interview Questions on Modfiers - 3


Question: 1

(A) It CAN be accessed from ANYWHERE
(B) It CAN ONLY be accessed from ’same package’
(C) It can be accessed from the same file
(D) It can be access from the same project

DiscussOnForum
Beginner modifiers[Posted by: Admin | Chicago, USA]



Question: 2

(A) Private members can be accessed within a same package
(B) Private members can be accessed within class only
(C) Private members can be accessed within sub classes of same package
(D) All of the above

DiscussOnForum
Practitioner modifiers[Posted by: Admin | Chicago, USA]



Question: 3

(A) It is visible to same project
(B) It is visible to same package
(C) It is visible to same file
(D) All of these

DiscussOnForum
Beginner modifiers[Posted by: Admin | Chicago, USA]


[Contribute to this Website]


Browse Java Categories

Datatype Variables Operators Decision Making Loops Methods Reference Variables Arrays Classes and Objects Abstract Class Singleton Class Modifiers Inheritance Overriding Polymorphism Abstraction Encapsulation Files and I/O TypeCasting Packages Exceptions Collections Framework Numbers Class Date & Time Regular Expressions Data Structures Interfaces Serialization Multithreading Networking Sending Email Applet Basics Other