Write java class that has one instance variable, a programmer defined constructor which initializes that instance variable of the class and one method that accepts an integer value. Write another java class that instantiates an object of the class that was created and calls the method defined in the class. Use comments to indicate a parameter and an argument.
https://docs.google.com/document/d/16o4eJA_nK8IyUxHcPhavXGYliqWpnHujbm1JDnZ3Z5M/edit?usp=sharing
Open the above link and Identify at least THREE Non Functional Requirements according to it.
https://docs.google.com/document/d/16o4eJA_nK8IyUxHcPhavXGYliqWpnHujbm1JDnZ3Z5M/edit?usp=sharing
Open the above link and Identify at least FIVE Functional Requirements according to it.
write a program tha takes the temprature of a patient in fahrenheit as input and prints "normal" if the temtature is equal to 98.6
It has been decided that transfers less than $100 should not attract any charges. However, transfers from $100 should attract a 17.5% charge on the amount being transferred. However, all road tolls has been abolished. The table below show the amount paid by drivers of the various vehicles.
VEHICLE TYPE....NAME....AMOUNT PAID ($)
1. saloon cars......Saloon_cars.....0.50
2. mummy wagons.....Trotro.....1.00
3. heavy buses.....Buses2Axles......1.50
You are to write a Java program that takes three mobile money transfers of various amounts and compute the various charges and the sum of these charges should be the total change. Your program should take toll booth levy for the three vehicles, sum them and multiply the total levy by 5.
Find the difference between the total mobile money transfer and the total toll booth levy.
https://docs.google.com/document/d/16o4eJA_nK8IyUxHcPhavXGYliqWpnHujbm1JDnZ3Z5M/edit?usp=sharing
Click on the above link and Identify User Characteristics or types of users from the above scenario.
You have been tasked to create a class called Abaaneke, your class should contain four private variables (customerName , deposit, oldBalance, newBalace) using the appropriate data types.
Your class should also have a method that takes three arguments – name of account holder, amount deposited and old balance. The method should add the deposit to the oldBalance and call it new balance.
Using the right setters and getters, initialize the private variables and call the method to display the following
a. Account holders name
b. Amount deposited
c. Old balance
d. And new balance
The user should be able to repeat the running of the program as many as he/she wishes
Write a c program that reads a number representing the amount of minutes for a call
and calculates and prints the cost of the call
Create an EMPLOYEE class having First Name, Last Name, socialSecurityNumber(SSN). Class SalariedEmployee extends class Employee having weeklySalary as a member. An overloaded method CalculateEarnings to calculate a SalariedEmployee’s earnings. Class HourlyEmployee also extends Employee and have hourlyWage and hoursWorked as data members with overloaded method CalculateEarnings. Class CommissionEmployee having commissionRate and grossSales as data members extends class Employee with overloaded method CalculateEarnings. In main make ArrayList of Employees to display:
1)Employee with highest Earning.2)Employee with Lowest Earning.3)Average Earnings of all employees.4)Earning of employees on odd positions.5)Display Earning according to alphabetical order.
Create a java desktop application with CRUD functionality using Java Fx Api or Scanner Class. You should create an application for a Realtor Brokerage. You have to maintain the record of homes sold using this application. You will be using a Property class With the fields like Propertyid,AgentName,AskingPrice,Region,Type,ClosingDate .You have to follow these steps for this application.
Create a database named Brokerage.
Create table named Properties for homes in the database.
Insert 5 or 6 Home Records in the database.
Add Jar file for your database to the lib Folder.
Create one Java class as a Model class.
Create a separate DAO class for database connectivity.
Create separate methods for connection and all crud operations.
Create a third separate java class and call these methods in this class to display data on console or Display using Java Fx API.