Choose a topic to test your knowledge and improve your Java skills
Java is a ........... language.
How many primitive data types are there in Java?
In Java byte, short, int and long all of these are
Size of int in Java is
The smallest integer type is ......... and its size is ......... bits.
Size of float and double in Java is
Automatic type conversion in Java takes place when
Which of the following automatic type conversion will be possible?
The following fraction of code double STATIC = 2.5 ; System.out.println( STATIC );
The following program: public class Test{ static boolean is OK; public static void main(String args[]){System.out.print(is OK); } }
οΏ½In Java, the word true is ................
What will the output of the following program? public class Test{ public static void main(String args[]){float f = (1 / 4) * 10; int i = Math.round(f); System.out.println(i); } }
οΏ½What is the output for the below code ? public class Test{public static void main(String[] args){int i = 010; int j = 07;System.out.println(i); System.out.println(j); } }
οΏ½What will be output of following program? public class Test{public static void main(String[] args){byte b=127; b++; b++; System.out.println(b); } }
οΏ½Which class cannot be subclassed (or extended) in java?
Why we use array as a parameter of main method
Suspend thread can be revived by using
Runnable is
Which collection class associates values witch keys, and orders the keys according to their natural order
Which method is used to perform DML statements in JDBC
Which of the following below are valid isolation levels in J2EE
Which metrhods are utilized to control the access to an object in multi threaded programming
Program which executes applet is known as
Which statement is static and synchronized in JDBC API
The JDBC-ODBC bridge is
All raw data types should be read and uploaded to the database as an array of
The class java.sql.Timestamp is associated with
Which of the following statements about arrays is syntactically wrong
Converting a primitive type data into its corresponding wrapper class object instance is called
Package of drawstring() method is
Which method executes only once
Object which can store group of other objects is called
All collection classes are available in
Thread class is available in
Minimum threads in a program are
JIT meaning
After the compilation of the java source code, which file is created by the JVM
pow () is associated with which class
x=x+1 is equivalent to
If method have same name as class name and method don't have any return type then it is known as
Methods that have same name, but different Parameter list and different definition known as
Inheritance means
Which type of inheritance is not supported by java
String is the predefined
Super is the predefined
Execution of the program is always begins with
In java, gc() method is available in which package
JAR file contains the compressed version of
Process of creating exact copy of the existing object is called