Java Objective Questions Answers -Chapter 1
-
15. Which keyword represents object of the present class
- interface
- package
- this
- static
Answer :
Option C
-
16. Which metrhods are utilized to control the access to an object in multi threaded programming
- Asynchronized methods
- Synchronized methods
- Serialized methods
- None of above
Answer :
Option B
-
17. Executable applet is
- .applet file
- .java html
- .java file
- .class file
Answer :
Option D
-
18. How many keywords are available in java
- 35
- 55
- 48
- 130
Answer :
Option C
-
19. Thread class is available in
- java.io package
- java.lang package
- java.awt package
- java.util package
Answer :
Option B
-
20. The inner class can access private members of the outer class
- False
- True
Answer :
Option B
-
21. Package of drawstring() method is
- java.applet
- java.io
- javax.swing
- java.awt
Answer :
Option D