NEW
Font size
WorksheetsData type
Total questions: 17
Worksheet time: 6mins
Which data type is used to store:
TRUE
Boolean
Double
String
Integer
Which data type is used to store:
100
Integer
Double
Boolean
String
"D"
What is a variable?
A storage location of memory which can change
A random area to store things in.
Something that changes
Something that can only store numbers
It provides a runtime environment in which Java byte code can be executed
JVM
JDK
JRE
Eclipse IDE
Which one is correct?
public static main(Strings[] args) { }
public private static main(Strings[] args) { }
public static void main(Strings[] args) { }
public void static main(Strings[] args) { }
char is 2 byte in storage?
True
False
(=) sign means
equals and it is used for math problems in Java
assignment operator. It used to assign a value
int x = 3; in this case, which of the following statement is true?
x = x+1;
x++;
x += 1;
All of above
Which one is used for remainder in Java?
/
%
+
*
