A local variable is never static
What is the output of the following code?
Garbage Collection can be controlled by a program
Which keyword is used to upper bound a wildcard?
Which of this interface is not a member of the java.io package?
Declaring an abstract class is useful to force developers to extend the class not to use its capabilities
Which of the following is a correct way to import a package.
method overloading
class A
{
public static void main(String args[])
{
byte a = 32;
int i;
byte b;
i = a << 2;
b = (byte) (a << 2);
System.out.print(i + " " + b);
}
}
Statement 1- An Abstract class can be extended
Statement 2-An Abstract class can be used as data type
Statement 3- A subclass of non-abstract superclass can be abstract