Title | |
---|---|
Which of these classes is not included in java.langWhich of these classes is not included in java.lang
The answer is:
C. Array
|
|
Which of these is a process of converting a simple data type into a classWhich of these is a process of converting a simple data type into a class?
The answer is:
A. type wrapping
|
|
Which of these is a super class of wrappers Double & IntegerWhich of these is a super class of wrappers Double & Integer?
The answer is:
D. Number
|
|
Which of these is a wrapper for simple data type floatWhich of these is a wrapper for simple data type float?
The answer is:
C. Float
|
|
Which of the following is a method of wrapper Float for converting the value of an object into byteWhich of the following is a method of wrapper Float for converting the value of an object into byte?
The answer is:
A. bytevalue()
|
|
Which of these methods is used to check for infinitely large and small valuesWhich of these methods is used to check for infinitely large and small values?
The answer is:
A. isInfinite()
|
|
Which of the following package stores all the simple data types in javaWhich of the following package stores all the simple data types in java
The answer is:
A. lang
|
|
What is the output of this programWhat is the output of this program
The answer is:
A. True
|
|
What is the output of this programWhat is the output of this program?
The answer is:
B. False
|
|
What is the output of this programWhat is the output of this program?
The answer is:
D. 10001
|
|
Which of these is a wrapper for data type intWhich of these is a wrapper for data type int
The answer is:
A. Integer
|
|
Which of the following methods is a method of wrapper Integer for obtaining hash code for the invoking objectWhich of the following methods is a method of wrapper Integer for obtaining hash code for the invoking object?
The answer is:
C. int hashCode()
|
|
Which of these is a super class of wrappers Long, Character & IntegerWhich of these is a super class of wrappers Long, Character & Integer?
The answer is:
D. Number
|
|
Which of these is a wrapper for simple data type charWhich of these is a wrapper for simple data type char
The answer is:
B. Character
|
|
Which of the following is method of wrapper Integer for converting the value of an object into intWhich of the following is method of wrapper Integer for converting the value of an object into int?
The answer is:
B. int intValue();
|
|
Which of these methods is used to obtain value of invoking object as a longWhich of these methods is used to obtain value of invoking object as a long?
The answer is:
B. long longValue()
|
|
What is the output of this programWhat is the output of this program?
The answer is:
B. false true true
|
|
What is the output of this programWhat is the output of this program?
The answer is:
B. 1
|
|
Which of these class have only one field ‘TYPE’Which of these class have only one field ‘TYPE’?
The answer is:
A. Void
|
|
Which of the following method of Process class can terminate a processWhich of the following method of Process class can terminate a process?
The answer is:
B. void destroy()
|
MCQs
Views
Best Answers
Points