Advertisement
Guest User

Untitled

a guest
Oct 16th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1.  
  2. package uml2;
  3. import java.util.*;
  4.  
  5. public class Test {
  6. public static void main(String[] args) {
  7. Scanner in=new Scanner(System.in);
  8. Customer ob=new Customer();
  9. ob.setId(in.nextInt());
  10. ob.setName(in.next());
  11. ob.bill=in.nextDouble();
  12. ob.display();
  13.  
  14.  
  15. }
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement