Tag: programming languages
Questions Related to programming languages
-
int aMethod(int i) throws IOException{...}
-
protected int aMethod(int i) throws FileNotFoundException{...}
-
public int aMethod(int i) throws Exception{...}
-
public int aMethod(byte i) throws IOException{...}
-
protected int aMethod(int i) throws IOException,FileNotFoundException{...}
-
A static method may override another static method.
-
A static method cannot override a non-static method.
-
A non-static method cannot override a static method.
-
A non-static method may be overloaded by a static method.
-
A synchronized method cannot be overridden.
-
doGet()
-
doTrace()
-
doOptions()
-
All the Above
-
final
-
finally
-
finalize
-
finalizer
-
The above code will not compile, Vector v is not initialized.
-
The above code will compile and throw a Runtime Exception
-
The above code will compile and not throw any Exception during runtime. V is initialized to null
-
None of the Above.
-
Float.POSITIVE_INFINITY
-
Double.POSITIVE_INFINITY
-
runtime Exception
-
None of the Above
-
superclass
-
subclass
-
instance class
-
None of the Above
-
Deserialization
-
Serialization
-
Interface
-
None
-
The code will compile and print "Welcome"
-
The code will compile and print "Good Bye"
-
The code will cause a compiler error
-
None of the Above