Chapter Questions

Applet Programming Questions

Explore chapter-wise explanatory questions and quickly move between related subchapters from a cleaner, more advanced layout.

Questions List

Browse all explanatory questions of this chapter.

33 Total Questions
1

If System.exit (0); is written at the end of the try block, will the finally block still execute?

Question ID: 228 Read Details
2

Define Network Programming?

Question ID: 217 Read Details
3

Define canvas?

Question ID: 216 Read Details
4

Define code as an attribute of Applet?

Question ID: 215 Read Details
5

Which method is called by Applet class to load an image?

Question ID: 214 Read Details
6

Why is the role of init() method under applets?

Question ID: 213 Read Details
7

Life cycle of an applet includes which steps?

Question ID: 212 Read Details
8

Explain main thread under Thread class execution?

Question ID: 211 Read Details
9

Which method of the Component class is used to set the position and size of a component?

Question ID: 200 Read Details
10

What is Dynamic Binding(late binding)?

Question ID: 189 Read Details
11

What is the Locale class?

Question ID: 186 Read Details
12

What will happen if static modifier is removed from the signature of the main method?

Question ID: 179 Read Details
13

What are ClassLoaders?

Question ID: 177 Read Details
14

What is the relationship between clipping and repainting under AWT?

Question ID: 169 Read Details
15

The immediate super class of the Applet class?

Question ID: 163 Read Details
16

Does garbage collection guarantee that a program will not run out of memory?

Question ID: 162 Read Details
17

What is the Collections API?

Question ID: 161 Read Details
18

What is synchronization?

Question ID: 160 Read Details
19

What is the difference between Swing and AWT components?

Question ID: 152 Read Details
20

Can you write a Java class that could be used both as an applet as well as an application?

Question ID: 151 Read Details
21

How to add menushortcut to menu item?

Question ID: 150 Read Details
22

Explain the use of sublass in a Java program?

Question ID: 149 Read Details
23

What are use cases?

Question ID: 148 Read Details
24

What is Serialization and deserialization?

Question ID: 147 Read Details
25

What is the difference between static and non-static variables?

Question ID: 146 Read Details
26

Which class should you use to obtain design information about an object?

Question ID: 145 Read Details
27

What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?

Question ID: 144 Read Details
28

What is the purpose of File class?

Question ID: 143 Read Details
29

What is the difference between the paint() and repaint() methods?

Question ID: 142 Read Details
30

What is the difference between a Window and a Frame?

Question ID: 140 Read Details
31

java.util.regex consists of which classes?

Question ID: 84 Read Details
32

Which package is used for pattern matching with regular expressions?

Question ID: 83 Read Details
33

What is a Java applet?

Question ID: 22 Read Details