JNTU World: JAVA Interview / VIVA Questions and Answers
JNTU World: JAVA Interview / VIVA Questions and Answers
1.What is JVM?
The Java interpreter along with the run time environment required to run the Java application in called as Java
virtual machine(JVM)
rld
JVM is purely a run time environment and hence you will not be able to compile your source files using a JVM.
17. What is a layout manager and what are different types of layout managers available in java AWT?
A layout manager is an object that is used to organize components in a container. The different layouts are available
are FlowLayout, BorderLayout, CardLayout, GridLayout and GridBagLayout
rld
18. What is JDBC?
JDBC is a set of Java API for executing SQL statements. This API consists of a set of classes and interfaces to enable
programs to write pure Java Database applications.
Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside
interference and misuse. Inheritance is the process by which one object acquires the properties of another object.
Polymorphism is the feature that allows one interface to be used for general class actions.
rld
compiler d) Compile the server implementation with RMI compiler e) Run the RMI registry f) Run the
application.