0% found this document useful (0 votes)
4 views2 pages

Java Imp

The document outlines important Java questions categorized into five units, covering topics such as bytecode, object-oriented programming, inheritance, exception handling, and applet life cycles. Each unit includes short answer questions and essay prompts that require explanations and examples. The content serves as a study guide for Java programming concepts and practices.

Uploaded by

pavankorada128
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views2 pages

Java Imp

The document outlines important Java questions categorized into five units, covering topics such as bytecode, object-oriented programming, inheritance, exception handling, and applet life cycles. Each unit includes short answer questions and essay prompts that require explanations and examples. The content serves as a study guide for Java programming concepts and practices.

Uploaded by

pavankorada128
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

JAVA IMPORTANT QUESTIONS

1st unit:

shorts
1. Define bytecode of Java and JVM.
2. State the usage of this pointer.
3. List any six features of Java.
4. List any three differences between POP and OOP.
5. State the importance of string classes.
Essay
1. Explain method overloading with an example program in Java.
2. Explain about string class and its methods with an example Java program.
3. Explain features of object oriented programming.
4. Explain about constructors and its types .
5. Explain features of java.

2nd unit:

shorts
1. Write differences between abstract classes and interface.
2. What is the use of ‘super’ keyword?
3. Define method overriding.
4. Define package and write the syntax for declaring a package.
5. Dehine inferitance?What is multilevel inheritance?
6. List any three advantages of an interface
Essay
1. Describe the different types of inheritance with examples.
2. Explain the concept of creating and importing user defined packages.
3. Explain how to implement interface with example program
4. Explain creating and importing a package with a program.
5. Write a Java program to implement method overriding concept.

3rd unit:

shorts
1. Define a stream. List the different types of I/O streams.
2. Write about ENUM set.
3. List different methods of array list.
4. List different file operations.
5. What is HashMap?
6. Write the difference between byte stream and character stream.
7. Write the differences between list and Set interfaces
8. What is hierarchy of collection framework?
Essay
1. Explain various file access operations by using file streams.
2. Explain how to read and write data through console input and output streams with a
sample program
3. collection framework all program & concepts.
4th unit:
shorts
[Link] the advantages of exception handling.
[Link] is throw keyword?
[Link] are thread priorities?
[Link] the use of finally block in exception handling.
5. Write the states of thread life cycle.
[Link] is synchronization?
Essays

1 Explain about multi-catch statement in Java with an example.


2. Explain inter- thread communication in Java with an example program
3. Describe the complete life cycle of a thread with a neat diagram.
4. Explain about synchronized method with a program.
5. Explain the concept of multi-threading with an example.
6. Exception handling all programs.

5th unit:
shorts
1. Draw the life cycle of an applet & explain states.
2. What is an event? List event listener interfaces
3. Define AWT classes. ? List any three AWT controls. ?
4. What is an event? List different types of event.
5. What is Applet? List any three methods of applet life cycle.
6. Write the constructors of Scrollbar control.
7. Write different mouse events
8. State the difference between check box and check box group control
Essays
1. Explain the life cycle of an applet with a neat sketch
2. Explain about different methods of graphics class.
3. Explain Checkbox AWT control with an example program
4. Explain about colour and font classes.
5. Demonstrate handling mouse events with sample program
6. Explain about AWT classes in Java.
7. Explain different Event classes in Java.
8. Explain update and paint methods of graphics class.

You might also like