String class Flashcards

1
Q

Primitive vs Object

A

Primitive - Like an integer. Stores only one thing

Object - stores more than one thing. They come with methods as well still

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

Method to check if two strings are equal

A

s1.isequal(s2)

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