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

Can a set contain duplicates?

0 Answers  


Give reasons supporting that string is immutable.

0 Answers  


What are different types of Exceptions?.

9 Answers  


Can we call the constructor of a class more than once for an object?

0 Answers  


Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?

0 Answers  


please tell me what is wrapper class in java with example ?

6 Answers   HP,


aabccdee Find the used alphabets as abcde ?

4 Answers  


What are autoboxing and unboxing? When does it occur?

0 Answers  


I/O blocking means?

1 Answers  


What is the purpose of finalization?

4 Answers  


What is oops in java?

0 Answers  


Write code of any action class?

0 Answers  


Categories