Questions List
Browse all explanatory questions of this chapter.
1
If System.exit (0); is written at the end of the try block, will the finally block still execute?
2
Define Network Programming?
3
Define canvas?
4
Define code as an attribute of Applet?
5
Which method is called by Applet class to load an image?
6
Why is the role of init() method under applets?
7
Life cycle of an applet includes which steps?
8
Explain main thread under Thread class execution?
9
Which method of the Component class is used to set the position and size of a component?
10
What is Dynamic Binding(late binding)?
11
What is the Locale class?
12
What will happen if static modifier is removed from the signature of the main method?
13
What are ClassLoaders?
14
What is the relationship between clipping and repainting under AWT?
15
The immediate super class of the Applet class?
16
Does garbage collection guarantee that a program will not run out of memory?
17
What is the Collections API?
18
What is synchronization?
19
What is the difference between Swing and AWT components?
20
Can you write a Java class that could be used both as an applet as well as an application?
21
How to add menushortcut to menu item?
22
Explain the use of sublass in a Java program?
23
What are use cases?
24
What is Serialization and deserialization?
25
What is the difference between static and non-static variables?
26
Which class should you use to obtain design information about an object?
27
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
28
What is the purpose of File class?
29
What is the difference between the paint() and repaint() methods?
30
What is the difference between a Window and a Frame?
31
java.util.regex consists of which classes?
32
Which package is used for pattern matching with regular expressions?
33