Question: 1) What is int size? (2 point) 2) Read from console We love and UG texts. Print in console this text with space.(3 point) 3)

1) What is int size? (2 point) 2) Read from console We love and UG texts. Print in console this text with space.(3 point) 3) Using Scanner class read from file (not from console) n the count of numbers, then read the numbers and print the sum of this numbers in console.(4 point) 4) Create class named Math and create there 2 constructors, first constructor must be empty, second one must have two int parameters. In this class create method named getSum() which returns the sum of numbers passed in constructor. Create Math class object in Main class and invoke getSum() method. (6 point) 5) Create interface named ILeader, then create in this interface 2 methods, first void type named setTasks(), second getEmployee Count() which returns int value. Create class Employee and implement ILeader interface and override methods which we have in interface. Create Employee class object in Main class and invoke both methods. (10 point) 6) Using Swing create calculator witch has add, subtraction, multiplication and division functions. Using our calculator we can add, multiply, subtract or divide numbers. (15 point) For Example: My Calculator 7 8 9 4 5 6 * * 1 2 2. 3 - 0 C
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
