test - Customer customer2 = new Customer(2, 500.0);

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

View Full Document Right Arrow Icon
public class test { public static void main(String [] args) { Customer customer1; customer1 = new Customer(); customer1.setBalance(1000.0); System.out.println(customer1.getCustId());
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Customer customer2 = new Customer(2, 500.0); System.out.println(customer2.getBalance()); } }...
View Full Document

This note was uploaded on 11/22/2010 for the course BSE 71920 taught by Professor Nakurmura during the Spring '10 term at ASU.

Ask a homework question - tutors are online