Which of the following operators has the highest precedence?
When frequent changes are required in data, which should be preferred?
Which of the following is not a feature of Java?
Which of the following is used to access a member without creating the object for that class?
When an expression involves byte, int, and literal numbers, the expression is promoted to which data type?
What is the correct syntax for creating an SQL query in Hibernate?
Predict the output of the following Java code.
class Abekus {
int i;
}
class AbekusMain {
public static void main(String[] args) {
Abekus a;
System.out.println(a.i);
}
}
What will be the output of the following Java code?
class calculate
{
public static void main (String[] args)
{
int a=4;
System.out.println(++a * 8);
System.out.println(" " + a++ * 8);
}
}
What is the output of the following Java code?
public class Abekus {
public static void main(String[] args) {
int a = 86, b = 100100;
if (a > b)
int i = 0;
else {
System.out.println("Hi");
}
}
}