JAVA Question Bank
What is JAVA Math Class.? List 10 method with syntax. Write an example.
Explain Java Data types? List all data type with its size.
What is java array? How we can create an array and initialize and array.
Write short notes on Java method with syntax and example.
What is java variable. Explain different types of variable.
Explain following keyword or short notes
Explain File constructors, and any ten methods of class File and method seek.
What are Java classes? How we can create java classes.
What is object? How we can create java objects?
What is Java string? How we can initialize and create java string explains with 10 methods?
Explain Java Character class with suitable example and methods
What is inheritance in java . Explain all its Type. Write an example.
Explain Cosmic superclass (Object Class) and its methods.
Explain interface in JAVA. How do interfaces support polymorphism?
Explain package in java. List out all packages with short description.
Explain Generics in java and its need. How we uses generic with generic classes.Write an generic
Define polymorphism with its need. Define and explain static and dynamic binding using
What do u understand by casting an objects. Explain with the example
Differentiate between abstract class abstract methods with the help of example.
What is java interface . What is its advantages. What is its need. Difference between abstract
classes and interface. Justify with the help of example.
What is an Exception? Explain Exception handling in JAVA.
Enlist and explain the difference between error and exception. Write a program to handle
InterruptedException, IllegalArgumentException using try-cat-finally and throw.
What is try-catch and finally block in exception handling. Elaborate with the help of example.