0% found this document useful (0 votes)
15 views

Question Bank _ JAVA Programming(IT)

The document is a question bank for Java Programming, structured into five units covering fundamental concepts such as type casting, polymorphism, inheritance, exception handling, collections, threading, JDBC, and GUI components. Each unit contains multiple questions that require explanations, definitions, and examples related to Java programming. The content is designed to assess understanding and application of Java concepts in various contexts.

Uploaded by

praneet trimukhe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Question Bank _ JAVA Programming(IT)

The document is a question bank for Java Programming, structured into five units covering fundamental concepts such as type casting, polymorphism, inheritance, exception handling, collections, threading, JDBC, and GUI components. Each unit contains multiple questions that require explanations, definitions, and examples related to Java programming. The content is designed to assess understanding and application of Java concepts in various contexts.

Uploaded by

praneet trimukhe
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Guru Nanak Institutions Technical Campus

(Autonomous)
Question Bank- Java Programming

Unit-I

1. What is type casting? Explain with an example.


2. Explain Polymorphism and its types.
3. Define Abstraction and Encapsulation.
4. List and explain various forms of Inheritance?
5. Explain Multilevel and Multiple inheritance.
6. Describe the types of operators used in java?
7. What is method overloading, illustrate with example.
8. What is method overriding, illustrate with example.
9. Define String in java.
10. What is abstract class. Explain with a program?
11. Explain constructors in java with example.
12. What is a class and object?

Unit- II
1. Define an Exception and an Error?
2. Describe Exception and its types with an example .
3. Explain exception handling keywords in java.
4. Explain about try and catch block with program.
5. Differentiate between throw and throws keyword.
6. Explain Filtered byte stream?
7. Define collections in java.
8. Explain the purpose of finally keyword.
9. Explain any three RandomAccessFile Class Methods

Unit-III
1. Define package? Explain how to set classpath?
2. Explain about access specifiers.
3. Explain about sorting in collection.
4. Differentiate Comparable & Comparator operator.
5. How to access, import a package? Explain with examples.
6. Explain String tokenizer class with its methods.
7. Explain Array List with example.
8. Explain java random class with few methods
Unit-IV
1. Explain sleep method with program.
2. Describe about inter thread communication.
3. Explain about thread priorities in java.
4. What is JDBC illustrate with an example.
5. Explain the life cycle of a thread.
6. Explain types of JDBC drivers.
7. What are the main classes and interfaces of JDBC.
8. Explain creation of thread using runnable interface with an example.
9. How do we set priorities for threads? Construct a java program to explain thread
priorities usage.

Unit-V
1. Explain the adapter classes with example?
2. What are the limitations of AWT.
3. Explain about MVC architecture in java.
4. What is event handling in java? List out the available event classes and listener
interfaces with suitable example?
5. Differentiate between Swing and AWT.
6. Explain the swing concepts with example program?
7. Explain about JButton.
8. What are the subclasses of JButton class of swing package?
9. What is the significance of Layout managers? Discuss briefly various layout
managers.
10. Define some of swing components?

You might also like