... 10, indented once. public Card left parenthesis String card Face comma String card Suit right parenthesis. Line 11, indented once. left brace. Line 12, indented twice. face equals card Face semicolon forward slash forward slash initialize face of card. Line 13, indented twice. suit equals card Suit semicolon forward slash forward slash initialize suit of card. Line 14, indented once. right brace forward slash forward slash end two dash argument Card constructor. Line 15. Blank. Line 16, indented once. forward slash forward slash return String representation of Card. Line 17, indented once. public String to String left parenthesis right parenthesis. Line 18, indented once. left brace. Line 19, indented twice. return face plus double quote of do
Get Android How to Program, 3/e now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.