Which of the following is not a type of Enterprise JavaBeans (EJB)?
The remaining capacity of BlockingQueue whose intrinsic capacity is not defined
Is the following statement True or False? : "Annotations which are applied to other annotations are called meta annotations."
Which of these processes occur automatically by the Java runtime system?
public class outputs
{
public static void main(String args[])
{
int a = 3;
System.out.print(++a%10 * 8%2);
}
}
Which four options describe the correct default values for array elements of the types indicated?
What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
Double i = new Double(257.578123456789);
float x = i.floatValue();
System.out.print(x);
}
}
What are the correct statements about the Java Virtual Machine (JVM)?
Predict the output of the following Java code.
import java.util.concurrent.*;
public class Abekus {
public static void main(String[] args)
{
ConcurrentLinkedDeque<Integer> c = new ConcurrentLinkedDeque<Integer>();
c.add(45);
c.add(78);
c.add(67);
c.add(23);
c.addFirst(99);
System.out.println(c);
}
}
Which of the following statements about string methods is correct?