Which of these operators have the highest precedence?
Which of the following is a Java class loader?
Inner class defined without any class name is called an anonymous inner class.
Which object Java application uses to create a new process?
Which method can be used to ensure the main thread is executed last among all the threads?
removeFirstOccurrence(Object o) is used to removes the first occurrence of the specified element in this list
Which of these jump statements can skip processing the remainder of the code block for the current iteration?
public class output{
public static void main(String args[]){
int a=1000;
int b=1200;
int result=0;
result= 2*(a++);
System.out.println(result);
}
}
Statement 1-String is immutable.
Statement 2-StringBuilder is mutable
Statement 3- StringBuffer is mutable
class test {
public static void main (String[] args) {
int var1=9;
int var2=10;
if(++var1==var2++)
System.out.println(var2);
else
System.out.println(++var1);
}
}