Write a program to implement the Library Information System using
packages with the following instructions
a) Create a Books class in pkg1.
b) Create an Admin class in pkg2.
c) Create a User class in pkg3.
d) Import all packages in Test class and do the following operations in a menu-driven
fashion. Add books, Search books, and List books.
Develop an application in Java for automating the Banking Operations using interfaces.
Create an interface called “Transaction” which contains the functions such as deposit,
withdraw, and viewBalance. Create another interface called “Displayable” which
contains the Display () function to display the account details.
Create an abstract class called “Account” with bank account details such as acc_name,
acc_no, and balance. Add necessary constructors.
Create a “Bank” class which implements the “Transaction”, “Displayable” interfaces
and inherits “Account” class.
Perform menu driven operations like Deposit, Withdraw and Balance Enquiry, View
Account Details from a Main class. Write logics in the corresponding methods.
Write a menu driven application to maintain the smart phone technical specifications
for various brands using JAVA. Use constructors, getter and setter functions. Your
application must contain the following functionalities.
For each mobile your application must maintain the details such as productName,
operatingSystem, displaySize, memory, etc.
Get the product details from admin
In the menu give the user options to add, edit, delete or display the smart phone details
Write a Java program that will create a report to display the top three mobile device sales per month from January to March 2018. The rows and columns represent the monthly sales of each device. JAN FEB MAR TOTAL IPhone 7 30 15 35 80 Samsung S8 20 25 30 75 Huawei Mate 10 25 11 32 68 MONTHLY TOTAL 75 51 97 Using a Two-Dimensional array, produce the monthly mobile device sales report and the total sales for each device
Write a Java program that will create a report to display the top three mobile device sales per month from January to March 2018. The rows and columns represent the monthly sales of each device. JAN FEB MAR TOTAL IPhone 7 30 15 35 80 Samsung S8 20 25 30 75 Huawei Mate 10 25 11 32 68 MONTHLY TOTAL 75 51 97 Using a Two-Dimensional array, produce the monthly mobile device sales report and the total sales for each device
Create a Java program to find which word has the maximum occurrence and
replace that word by a special symbol, say *.
Write a java program where a user enters and stores the average monthly rainfall figures (int) for three (3) towns over a year. The rows represent the months, and the columns represent the towns.
Calculate and print the total rainfall figures for each town, and the average rainfall for each month. Use a switch statement to print out the month name according to the column subscript value (E.g. if col = 0, then print January, col = 1 then print February, etc.) with the corresponding total alongside it.
Design a console application that will print the cell phone bill of a customer. Make use of an abstract class named Cell that contains variables to store the customer name, talk time and price per minute. Create a constructor that accepts the customer name, talk time and price per minute as parameters, and create get methods for the variables. The Cell class must implement an iPrintable interface that contains the following:
public interface iPrintable
{
public void print_bill();
}
Create a subclass called Cell_Billing that extends the Cell class. The Cell_Billing class must contain a constructor to accept the customer name, talk time and price per minute as parameters. Write code for the print_bill method which calculates the total due (talk time * price per minute). Finally write a useCell class to instantiate the Cell_Billing class. Sample output is shown below and you may use the same values to test your application