1) Design and implement a Java program to make a chat platform using synchronization between 3 threads.
2) Design a flowchart of your design
3) Implement your your design
4) Put your code and screenshot output in your pdf file.
Develop a java application using Inheritance as per the following. Create a class
Worker and derive two classes DailyWorker and SalariedWorker from it. Every
worker has name, salary rate. Provide a method ComPay(int hours) to compute the
week pay of every worker. A DailyWorker is paid on the basis of number of days
he/she works. The SalariedWorker gets paid the wage for 40 hours a week no
matter what actual hours is. Implement this scenario to calculate the pay of workers.
You are expected to use the concept of Inheritance with proper run time
polymorphism
Develop a java application using Inheritance as per the following. Create a super class called
CashTree which demonstrate any ATM Machine. Have attributes like name, codeno, location,
etc. Add functionalities like ViewBalance, WithDraw and Deposit in super class. Derive two
sub classes SBI_Bank, and HDFC_Bank with additional properties such as customer_name,
balance and redefine those super class functionalities according to the nature of specified
bank (differenciate via service_charges, interest rate, and maximum withdraw limit etc).
Complete the above scenario using Inheritance, Run Time Polymorphism with Menu driven
options.