Which Java package stores all the standard Java classes?
In Java, arrays are-
Which package contain all the Java’s built-in exceptions?
When does the ArrayIndexOutOfBoundsException occur?
Which of these methods can be used to obtain the coordinates of a mouse?
Which process writes the state of an object to a byte stream?
Which of the following method is used to check whether a given string starts with a particular character or not?
What is the attribute of a Java Bean to specify the scope of the bean to have a single instance per Spring IoC container?
What is the output of the following Java code?
public class Test {
public static void main(String[] args) {
int x = 6;
float y = 9;
int z = x * (int) y;
System.out.println(x * y);
}
}
Predict the output of the following Java code:
class Abekus {
public static void main(String[] args)
{
do
System.out.println("Hi Amrit");
while (true);
}
}