Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package uml2;
- import java.util.*;
- public class Test {
- public static void main(String[] args) {
- Scanner in=new Scanner(System.in);
- Customer ob=new Customer();
- ob.setId(in.nextInt());
- ob.setName(in.next());
- ob.bill=in.nextDouble();
- ob.display();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement