part 2 Flashcards

1
Q

we should have in a java program a) 1 class b) 2 classes c)at least 1 class

A

at least 1class

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does this symbol mean / or / ?
a) comment b) double comment c)multiple comment d)single comment

A

multiple comment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what does this symbol mean (// )?
a) comment b) double comment c)multiple comment d)single comment

A

single comment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what does reserve word mean? and Exp?

A

reserve words are words those words that have specific meaning in Java.
examples : system ,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

system out is ?

A

object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

print ln is ?

A

method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

primitive data types ?

A

byte , short , int , long

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

integer is?

A

a number without a decimal point .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

memory = Byte

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

variable’s or identifiers:

A

are used to stroke value followed by a alphabet .they have no special character and no blank space .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

system out=

A

is object

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

print ln =

A

method

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

byte = how many bytes ?
short =how many bytes ?
int = how many bytes ?
long= how many bytes ?

A

byte 1
2 bytes
4byte
8 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what is a integer ?

A

it is a number that doesn’t have a decimal point

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

definition real number ? examples?

A

real numbers are are numbers with decimal point . exp : float - double

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Non primitives :

A

class - string