Java Objective Questions Answers -Chapter 1
-
58. Applet always executed on
- Client side
- Server Side
Answer And Explanation
Answer: Option A
Explanation:
-
59. Which method of the Applet class displays the result of applet code on screen
- run() method
- paint() method
- drawString() method
- main() method
Answer And Explanation
Answer: Option B
Explanation:
-
60. There is no default transaction attribute for an EJB
- False
- True
Answer And Explanation
Answer: Option B
Explanation:
-
61. Which command disassembles a class file
- javaamd
- javacmd
- java
- javap
Answer And Explanation
Answer: Option D
Explanation:
-
62. The inner class can access private members of the outer class
- False
- True
Answer And Explanation
Answer: Option B
Explanation:
-
63. In which we clone the object and their constituent parts
- Shallow cloning
- Deep cloning
- Both of above
- None of above
Answer And Explanation
Answer: Option B
Explanation: