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
How we get some middle records in one table?
If I have 1000 objects and my requirement is to sort them quickly, then which collection would you recommend and why?
What is the public field modifier?
Which method returns the length of a string?
What is unmodifiable list in java?
Is java an ide?
How does hashmap work in java ?
different types of threads?
How we can execute any code even before main method?
Explain the use of volatile field modifier?
Why declare Main() inside the class in java ?
What is finalize() function in java?