What is the range of data type double?
-1.7E +308 to 1.7E+308
-1.8E +308 to 1.7E+308
-1.8E +308 to 1.8E+308
-1.7D +308 to 1.7D+308
What will be the normal datatype of a literal '2.345' in Java?
float
int
double
byte
What is the data type of an object called as?
class
method
block
function
Which of the following is a character of class definition that is not shared by its objects in Java language?
static
state
identity
main
What is represented by the primitive datatype boolean?
single true / false value
numeric values
characters
punctuation marks
The data type boolean is named after which mathematician.
Ramanujan
Hardy
Galileo
George Boole
How many bits are used to represent character using the char type in Java.
6 bits
8 bits
32 bits
16 bits
What is the way to recognize a character literal?
apostrophe on both sides
double quotes on both sides
back slash on both sides
none of these
Which is the data structure that can associate the methods which act on an object with the object itself?
Functions
Variables
Class
Methods
What describes the functionality of a class?
Objects
Number variables