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

where final and static variable stored?

3 Answers  


what is the difference between abstract class and Interface?where we can use it in realtime projects?

23 Answers   Agile Software, Cognizant, IBM, Innodata, Logica CMG, Mitosis, Nagarro, Value Chain,


Why enumeration is faster than iterator?

0 Answers  


What are keywords in programming?

0 Answers  


What is UNICODE?

3 Answers  






Is hashset ordered java?

0 Answers  


What is instanceof keyword?

0 Answers  


What are the advantages of packages in java?

0 Answers  


What is the super void?

0 Answers  


What function extracts specified characters from a string?

0 Answers  


What is generics in java interview questions?

0 Answers  


What is the map interface in java programming?

0 Answers  


Categories