ArrayList is Index based
_______ class provides a mechanism to convert primitive type value into object type value.
Which of these methods will be invoked when a character is entered?
Which of these methods is used to check for infinitely large and small values?
Which of the following can not be used for variable name
Which of the following events is generated when the user clicks on a button?
Which types of exceptions are caught at compile time?
toArray() : This method not returns an array containing all of the elements in this list in proper sequence (from first to last element).
What will be the output of the following Java program?
class Output
{
public static void main(String args[])
{
Integer i = new Integer(257);
byte x = i.byteValue();
System.out.print(x);
}
}
Statement 1-Collection only deal with primitive
Statement 2- Collection only deal with object
Statement 3- Collection only deal with class