The runnable interface is implemented by Thread class
Which logical operators can skip evaluating the right-hand operand?
If we clear the try catch block , does the finally block still get executed?
The default value of a static integer variable of a class in Java is
Which of the following is not a memory segment in Java?
Which of the following method is used to access the character at specified index?
Which of these is correct ?
a> 'if' statement only checks for equality
b> 'switch' statement only checks for equality
public class Demo123{
public static void main(String args[]){
String s1= new String("Abekus");
System.out.println(s1.substring(1,4));
}
}
What is the output of the following Java code?
public class Test {
public static void main(String[] args) {
System.out.println(3 == 4 - 1);
}
}