Will not compile because class body is not defined
Will not compile because class is not declared public
Will compile successfully.
Will not compile because String is abstract
D. Will not compile because String is abstract
Will not compile because class body is not defined
Will not compile because class is not declared public
Will compile successfully.
Will not compile because String is abstract
True
False
True
False
@method
@parameter
@argument
@param
rmicom
rmic
jrmi
none of the above
Random
Vector
Byte
all of the above
NULL
Implements
Protected
None of the above
IOException
FileNotFoundException
ReadException
None of the above
abstract class print {
abstract show();
}
class Display extends print {
}
Nothing is wrong
Wrong Method show() should have a return type
Wrong Methods show() is not implemented in Display
Wrong Display does not contain any members.
auto commit is on, by default
It performs a hidden commit statement as well
Does not commit
None of the above.
true
false
With the extension .jsp in servlets folder of the jws
With the extension .html in public_html folder of the jws
With the extension .jsp in public_html folder of the jws
None of the above.
byte b1 = 5;
byte b2 = 10;
x = b1 * b2;
int short
Creates text object that can hold 10 rows of text.
Creates text object that can hold 10 columns of text.
Creates the object text and initializes it with the value 10.
The code is illegal.
file.create();
FileOutputStream fos=new FileOutputStream(file);
FileInputStream fis=new FileInputStream(file);
all of the above
Visibility only in the class and its subclasses in the same package.
Visibility only inside the same package.
Visibility in all classes in the same package and subclasses in other packages.
Visibility only in the class where it is declared.
True
False
True
False
component
dimension()
setSize()
size()
classes
interface
editing tools
classes and interfaces
extending two or more classes
extending one class and implementing one or more interfaces
all the above
html files
html files and java files
java files and class files
None of the above.
True
False
True
False
UTF characters are all 24 bits.
Reader class has methods that can read integers and floats.
Unicode characters are all 16 bits.
all of the above
True
False
default
protected
interface
None of the above
True
False
private
protected
public
private protected
4
2
-2
-4