Methods Flashcards

(2 cards)

1
Q

How to call methods?

A

variable = method(with or without values);

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

How to instantiate an object code?

A

ClassName objName = new ClassName (passing values)

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