General Java Flashcards

1
Q

A strings Length?

A

s.length()

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

Integer to String?

A

String.valueOf(num) Integer.toString(num)

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

String to Integer?

A

Integer.parseInt(s)

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

A certain character of a string

A

s.charAt(i)

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

Char to Integer

A

Character.getNumericValue(c)

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