Exam #2 Stuff Flashcards

(7 cards)

1
Q

How does b compare to a?

A

b is greater than a

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

How does B compare to A?

A

B is greater than A

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

How does b compare to A?

A

b is greater than A

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

How does B compare to a?

A

B is less than a

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

What does Integer.parseInt() do?

A

passes a string as a decimal integer

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

When do you use void?

A

Using System.out.print and not returning

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

When do you use private?

A

When a function is inside a function and is unable to be called outside of that function

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