BingoCall - BingoCall call = new BingoCall('B', 7); String...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
package lab10; p public class BingoCall { private char letter; private int number; public BingoCall(char givenLetter,int givenNumber) { letter = givenLetter; number = givenNumber; } public static void main(String[] args) {
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: BingoCall call = new BingoCall('B', 7); String representation = call.toString(); System.out.println(representation); System.out.println(call); } }...
View Full Document

Ask a homework question - tutors are online