Beruflich Dokumente
Kultur Dokumente
2) What is a C lass?
3) What is an Object?
4) What is an Instance?
14) What gives java its write once and run anywhere nature?
http://csetube.tk/
http://csetube.weebly.com/
PAR T B
7.Explain the methods available under String and String Buffer Class. (16)
http://csetube.tk/
http://csetube.weebly.com/
UNIT II
PAR T A
17) What is the difference between a static and a non-static inner class?
19) Can you have an inner class inside a method and what variables can you access?
23) What is a cloneable interface and how many methods does it contain?
http://csetube.tk/
http://csetube.weebly.com/
PAR T B
6. Explain the methods under object class and class class. (16)
http://csetube.tk/
UNIT III
EVENT-DRIVEN PROGRAMMING
PAR T A
1) What is the relationship between the Canvas class and the Graphics class?
8) What is a layout manager and what are different types of layout managers availab le in java
AWT?
11) What is an event and what are the models available for event handling?
13) Why wont the JVM terminate when I close all the application windows?
http://csetube.weebly.com/
14) What is meant by controls and what are different types of controls in AWT?
17) What is the difference between the F ile and RandomAccessF ile classes?
PAR T B
http://csetube.tk/
UNIT IV
GENERIC PR OGRAMMING
PAR T A
1) What is an exception?
2) What is error?
http://csetube.weebly.com/
7) How does a try statement determine which catch clause should be used to handle an
exception?
13) What if there is a break or return statement in try block followed by finally block?
25) How do you get the descriptive information about the Exception occurred during the
program execution?
PAR T B
http://csetube.tk/
PAR T A
4) What is multithreading and what are the methods for inter-thread communication and what is
http://csetube.weebly.com/
8) What happens when you invoke a thread's interrupt method while it is sleeping or waiting?
10) What are three ways in which a thread can enter the waiting state?
12) What is synchronized keyword? In what situations you will Use it?
16) What is daemon thread and which method is used to create the daemon thread?
24) What are the different ways in which a thread can enter into waiting state?
PAR T B
5. Explain Deadlocks.
http://csetube.tk/