0% found this document useful (0 votes)
32 views3 pages

Java Question Bank

Uploaded by

akbarnptel
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)
32 views3 pages

Java Question Bank

Uploaded by

akbarnptel
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
You are on page 1/ 3

QUESTION BANK

Unit I:

1) Explain Features of Java or Java Buzz words.


2) List and explain the Tokens in the Java language
3) List and explain the Data types in Java program with examples
4) What is Operator and explain different operators available in java with example.
5) List and explain the control statements with examples.
6) Develop a Java program to perform string reverse operations.
7) List and Explain Loops in Java with example
8) Explain Unconditional Control statements in java

Unit II:

9) Is it possible to access Private members of a class? Justify your answer.


10) Compare the working of constructor overloading with method overloading
11) Compare the pass-by-value with the pass-by-reference method using an example
12) Demonstrate method overriding with an example java program.
13) Demonstrate Nested class concept with an example
14) Explain Method Overriding with example
15) Explain Recursive methods in java.
16) Discuss the advantage of this keyword with an example Java program.
17) Discuss the advantage of final and static attributes
18) Develop a program to declare and access the three-dimensional arrays

Unit III:

19) Is it possible to implement multiple inheritances in Java? Justify your answer


20) Develop a Java program to perform Binary search.
21) Demonstrate the Nested Interfaces using an example program
22) Develop a program to perform matrices multiplication.
23) Discuss the advantage of the Method overriding.
24) Compare the features of Array with Vector.
25) Demonstrate dynamic method dispatch with an example program.
26) Discuss the advantage of the Super keyword with a Java program.

Unit IV:

27) Discuss the advantages of Wrapper classes.


28) Demonstrate the class Throwable with the help of a Java program.
29) Is it possible to Rethrow exceptions? Justify your answer.
30) List and explain any four packages in Java language
31) Demonstrate Auto boxing and Auto unboxing with an example program.
32) Demonstrate Checked exceptions with an example Java program
33) List and explain the blocks of Exception handling with examples
34) Explain any two classes with method in Java.lang package.
35) Illustrate the Hierarchy of standard Exception classes with a neat sketch.

Unit V:

36) Discuss the issues of Race condition and Deadlock.


37) Demonstrate Inter-thread communication with a Java program
38) Develop a JDBC application to establish a link between MySQL and Java to save and access a
table
39) List and explain any three methods of a String class.
40) Is there is a need for multi-threading? Justify your answer.
41) Illustrate JDBC architecture with a neat sketch.
42) List and explain any three methods of String class.

Summarized Topics Unit Wise:

Unit I:

1) Features of JAVA or Java Buzzwords


2) Tokens or elements of Java
3) Operators in Java
4) Control Statements in Java

Unit II:

5) What is Constructor? and explain constructor overloading


6) Method overloading
7) Recursive Method calling.
8) Nested Classes(Inner Classes)

Unit III:

9) Arrays declaration , memory allocation and accessing and storage mechanism


10) Matrix addition, subtraction and Multiplication programs in java
11) Different types of Inheritance in Java?
12) Abstract classes
13) Define Interface and implementation of interfaces
14) Difference between abstract class and interfaces

Unit IV:

15) Classes in java.lang package


16) Implement our own packages in java
17) Wrapper classes and auto boxing and auto unboxing
18) Classes and interfaces in java.util package
19) Exception Handling mechanism
20) Hierarchy of Standard Exception Classes
21) User defined exceptions creation

Unit V:

22) Methods in String Class


23) Difference b/w String Vs StringBuffer VS StringBuilder
24) Different ways of creating Threads in java
25) Thread Life Cycle
26) Dead Lock and Race Condition process in Thread
27) Thread Synchronization
28) JDBC Architecture
29) Connection process for JDBC

You might also like