Java Question Bank
One Mark Question
Java_April_2022
1) Define exception.
2) Define Interface
3) What is javadoc?
4) What is AWT?
5) What is use of static keyword?
6) What is command line argument?
7) List the types of constructor.
8) What is package?
9) List any two listener.
10) How to open a file in read mode?
Java_November_2022
1) What is use of Javac?
2) Give the name of any two wrapper classes.
3) What is use of 'implements' keyword?
4) What is the use of super keyword.
5) What is use of Array?
6) Give the name of any two listeners.
7) What is exception?
8) Give the syntax of endsWith( ) method?
9) What is package?
10) What is use of new operator?
April_2023
1) What is javadoc?
2) What are command line Arguments?
3) Define Constructor.
4) List any two wrapper classes.
5) Write the use of extends keyword.
6) Define functional Interface.
7) List any two uncheck exception
8) How to open file in read mode.
9) What is AWT?
10) Give the names of any two Adaptor class.
October_2023
1) A final keyword cannot be overridden state true/false and justify.
2) Give the types of access specifiers.
3) Differentiate between Scanner and Buffered Reader class.
4) What is Layout Manager?
5) Write the purpose of this keyword.
6) List any two types of checked Exception
7) What is listener ? State any two Listeners.
8) What are command line arguments?
9) Differentiate between throw and throws keyword.
10) Write the purpose of jdb.
Two Mark Question:
Java_April_2022
1) List any two methods of string buffer class.
2) What is use of 'throw' keyword?
3) Differentiate between final and finally keyword.
4) What is method overloading?
5) What is anonymous inner class?
Java_November_2022
1) 'When constructor of class will be called?' Comment.
2) What is command line argument? Where they are stored in a program.
3) What is Frame? Give its any two methods.
4) Differentiate between method overloading and method overriding.
5) Write any two access specifiers.
Java_April_2023
1) Differentiate between String and StringBuffer class.
2) State any four features of Java.
3) What is polymorphism? How to implements it at compile time.
4) How to define handle user define exception.
5) What is [Link] to inherit it in program?
Java_April_2023
1) What is constructor? List its types.
2) Differentiate between class variables and instance variables.
3) Write the purpose of abstract keyword.
4) Which class and interface are at topmost position in Exception hierarchy.
5) Give the syntax of J File Chooser class.