Back to marketplace

Potpourri

No description yet. This curated deck is ready for daily study.

Total cards: 3•Content version: v3•Public deck•Updated: 8/1/2026

Card preview (3)

#1
Front (Question)

Overloaded methods definition:

Back (Answer)

Methods of the same class with the same name but different numbers or types of parameters.

#2
Front (Question)

the call “substring(2, 2)” returns:

Back (Answer)

an empty string

#3
Front (Question)

When calling the System.out.print and System.out.prinln methods, these methods handle an object by calling its toString method. If your class does not have a defined toString method and inherits a generic toString method method from Object, _____________________ will get returned

Back (Answer)

the object’s class name followed by the object’s address