CDAC Core Java Practice Questions
21. Which keyword can protect a class in a package from accessibility by the classes outside the package?
22. What is the error in the following class definitions? abstract class SY{abstract sum(int x, int y) { }}
23. What interface must all interfaces for remote services exted?
24. which statement are true?
25. Which of the following methods helps in getting the local host ip?
26. Which of the Following is not java primitive
27. What is the purpose of the main() method?
28. getByName() throws ____________ Exception
29. clone method is of class
30. Which variables can an inner class access from the class which encapsulates it?
Learn More Multiple Choice Practice Questions
All Categories