Tag: java
Questions Related to java
-
Compilation and running with output 0 to 9
-
Run time error: Constructors cannot be declared protected
-
Compilation error: Constructors cannot be declared protected
-
Compilation and running with output 0 to 10
-
None of the above
-
Strings are a primitive type in Java and the StringBuffer is used as the matching wrapper type
-
The size of a string can be retrieved using the length property.
-
Strings are a primitive type in Java that overloads the + operator for concatenation
-
The String class is implemented as a char array, elements are addressed using the stringname[] convention
-
Static
-
Private
-
Default
-
None of the above
-
Compilation error
-
Runtime error
-
No errors
-
Execptions
-
Compilation error
-
Runtime Error
-
Runtime Exception
-
Output of b is 1
-
Compilation error
-
Runtime Error
-
Runtime Exception
-
Other Execptions
-
A methods in object
-
An operator and keyword
-
Both
-
None
-
Compiler error
-
Runtime Exception
-
FALSE
-
4 bits
-
7 bits
-
8 bits
-
16 bits