{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

{[ snackBarMessage ]}

Ask a homework question - tutors are online