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
can two class in a code be public??if yes then how??
Do you know thread pools?
1) There are 10 different threads in runnable state. Each having priority 1 to 10. How does the CPU schedules or executes these threads?
What string is utf8?
Explain how to force the garbage collection in java.
What is the java reflection api? Why it’s so important to have?
What is Three tier architecture. Can anyone explain with a Ordinary web application Project? (JSP,Servlets,JAVA,DAO) ?
my method "abc" return array of interface "xyz" and "pqr" is abstract class implements abc and class "jkl" extends pqr My problem 1) when i call abc it retrun array xyz how can i do this hint xyz refer_xyz = new jkl(); but i can't create array. 2)I want to access method of jkl using reference of xyz??
how to get the max salary and name of employee from arraylist without using the Comperator or even Comparable interface?
What happens when a thrown exception is not handled?
Does chrome use java?
Why is java not 100% pure oops?