Predict the output of the following Java code.
What is the Java 8 replacement for PermGen?
What does HQL stand for?
What is a Collection in Java?
Which of the following interfaces is not implemented by java.lang.String class?
Which of these methods of class String is used to check whether a given object starts with a particular string literal.
Which Java class allows you to access and retrieve information about private and protected members of a class?
What is the output of the following Java code that demonstrates bitwise operators?
class bitwise_operator
{
public static void main(String args[])
{
int a = 3;
int b = 6;
int c = a | b;
int d = a & b;
System.out.println(c + " " + d);
}
}
What will be the output of the following JAVA program?
class GFG { static int d=1; static void count(int n) { System.out.print(n+" "); System.out.print(d+" "); d++; if(n > 1) count(n-1); System.out.print(d+" "); } public static void main(String args[]) { count(3); } }