part 2 Flashcards
we should have in a java program a) 1 class b) 2 classes c)at least 1 class
at least 1class
what does this symbol mean / or / ?
a) comment b) double comment c)multiple comment d)single comment
multiple comment
what does this symbol mean (// )?
a) comment b) double comment c)multiple comment d)single comment
single comment
what does reserve word mean? and Exp?
reserve words are words those words that have specific meaning in Java.
examples : system ,
system out is ?
object
print ln is ?
method
primitive data types ?
byte , short , int , long
integer is?
a number without a decimal point .
memory = Byte
variable’s or identifiers:
are used to stroke value followed by a alphabet .they have no special character and no blank space .
system out=
is object
print ln =
method
byte = how many bytes ?
short =how many bytes ?
int = how many bytes ?
long= how many bytes ?
byte 1
2 bytes
4byte
8 bytes
what is a integer ?
it is a number that doesn’t have a decimal point
definition real number ? examples?
real numbers are are numbers with decimal point . exp : float - double