-
-
-
-
-
-
Difference between Statement and PreparedStatement?
Answer posted by pravash on 2005-06-08 02:16:34: The PreparedStatement is a slightly more powerful version of a Statement, and should always be at least as quick and easy to handle as a Statement. The PreparedStatement may be parametrizednull Most relational databases handles a JDBC / SQL query in four steps: 1.Parse the incoming SQL query 2. Compile the SQL query 3....
-
-
-
-
What it the root class for all Java classes
Answered by Scott on 2005-05-12 09:26:34: The Object class.
-
Can a Byte object be cast to a double value
Answered by Scott on 2005-05-12 09:24:14: Byte b = new Byte((byte)5); double d = b.byteValue(); System.out.println( "The double value is: " + d );
-
-
Why Java is not 100 % pure OOPS
Answered by Hari on 2005-05-09 03:02:11: There are so many examples behind this reason. a. Code written using AWT and compiled on windows machine will not run on Unix, since Windows is a graphics rendered environment and unix is not, so will have to provide some XManger to render the Graphics. b. depends on endians, if this is not supported by OS then the class file will not run.
-
Why do you create interfaces, and when MUST you use one?
You would create interfaces when you have two or more functionalities talking to each other. Doing it this way help you in creating a protocol between the parties involved.
-
What is the Vector class
The Vector class provides the capability to implement a growable array of objects
-
-
-
-
-
Java Interview Questions
Ans