which signature should be added to the Item class?

To provide meaningful output for: System.out.print( new Item ()): A method with which
signature should be added to the Item class?

To provide meaningful output for: System.out.print( new Item ()): A method with which
signature should be added to the Item class?

A.
public String asString()

B.
public Item toString()

C.
public object toString()

D.
public String toString()

E.
public Object asString()

F.
public Item asString()



Leave a Reply to Vasily Cancel reply1

Your email address will not be published. Required fields are marked *

15 − thirteen =