Package main.company

Examples of main.company.Worker


                switch(workerType){
                    default:
                        System.out.println("\n\nWrong worker type! Try again!\n");
                        break;
                    case 1:
                        Worker worker = new Worker(keyboard.readLine(),Double.parseDouble(keyboard.readLine()));
                        company.addWorker(worker);
                        if(company.addWorker(worker)){
                            System.out.println("\n\nWorker was added to company.\n");
                        }else{
                            System.out.println("\n\nWorker wasn't added to company! Try again!\n");
View Full Code Here

TOP

Related Classes of main.company.Worker

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.