Scanner class is present in _______ package
The stack is LIFO; Queue is FIFO
Which operator is used to dynamically allocate memory for an object?
deleteLast() methods can be used to delete the last element in a LinkedList object
Which Java method is used to draw the graphics of an applet in the drawing area?
java.util.concurrent package has classes and interfaces that supports concurrent programming?
Which of these is the super class of all exception type classes?
How many times 'abekus' is printed?
public class abekus {
public static void main(String[] args){
for(int i = 0; i>5; )
{
System.out.println("abekus");
}
}
}
Statement 1- Java is simple.
Statement 2- java is secure.
Statement 3- Java is platform independent.
Statement 4- Java is portable
Which of the following statements are true about Catch handler?
i) It must be placed immediately after try block T.
ii) It can have multiple parameters.
iii) There must be only one catch handler for every try block.
iv) There can be multiple catch handler for a try block T.
v) Generic catch handler can be placed anywhere after try block.