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 to know the host from which Applet is originated?
Implement two stacks using a single array.
What is the difference between path and classpath variables?
What are thread local variables?
I need help please send me reply: Write a program "if given a string like 'HAT', the combination's returned should be like ATH,THA,TAH in java"?
How many bytes is a char in java?
what is the use of declaring constructor as private?
5 Answers Cyient, IVY Technologies, Sai Softech, Virtusa,
When is the finally clause of a try-catch-finally statement executed?
What is double word?
I have a class which is abstract which contains only the abstract methods. This is similar to an interface. Then, if i have given a choice to choose one of them. Which one i have to choose and why?
What are pass by reference and pass by value?
What is return keyword in java?