There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

why the wait,notify,notifyall methods are placed in object class?these are the thread concepts why these methods are placed in Object class?

2 Answers   Global Logic, Satyam,


Where is stringbuffer stored?

0 Answers  


How many bytes is a string?

0 Answers  


whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net

0 Answers  


Differentiate jar and war files?

0 Answers  






What is multiple inheritance? Is it supported by java?

0 Answers  


What are computer functions?

0 Answers  


Why is string buffer better than string ?

0 Answers   Cyient,


What does += mean in java?

0 Answers  


What is externalizable?

0 Answers  


What is the difference between serialization and deserialization?

3 Answers   ABC,


Explain about collection interface in java?

0 Answers  


Categories