Java

Need Help in Java Assignment?
We can help you if you are having difficulty with your Java Assignment. Just email your Java Assignment at admin@assignmentcache.com.
We provide help for students all over the world in Java Assignment.

Items 11 to 20 of 109 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Ascending Direction
  1. CIS355A Week 3 iLab InheritanceTest Java Program

    CIS355A Week 3 iLab InheritanceTest and Greeting Java Program

    Regular Price: $25.00

    Special Price: $20.00

    CIS355A Week 3 iLab InheritanceTest and Greeting Java Program


    Scenario/Summary
    In this lab, you will create one project that uses inheritance and one simple Applet.


    Deliverables
    Program files for each of the following programs
    1. InheritanceTest; and
    2. Greeting.


    iLAB STEPS
    Step 1: InheritanceTest
    Implement an inheritance hierarchy based on the following specifications for Account class, Checking Account class, and Savings Account class:
    Account class
    • Methods:
    o processDeposit ( ) - accepts a single double parameter containing the deposit amount. Updates the balance by adding the deposit amount to the balance.
    o processWithdrawal ( ) - accepts a single double parameter containing the withdrawal amount. Updates the balance by subtracting the withdrawal amount for the balance. Note: For now do not worry about negative balances.
    o calcInterest ( ) - Coded as a double method with an empty body.
    • Attributes:
    o String Account Name
    o Integer Account ID
    o Double balance
    • Constructor
    o Prompt the user and accept input for the Account Name, Account ID and the initial balance.
    The CheckingAcct class which is a derived class of the Account class.
    • Attributes:
    o Inherits all the attributes of the Account class.
    o The overDraftFee is double and is populated in the constructor of the CheckingAcct class.
    • Methods:
    o calcInterest () - If the account balance is greater than or equal to 3000.00 an interest rate of 1% or .01 is applied to increase the balance.
    • Constructor:
    o Prompt the user for the OverDraftFee.
    The SavingsAcct class which is a derived class of the Account class.
    • Attributes:
    o Inherits all the attributes of the Account class.
    o There are no other attributes.
    • Methods:
    o calcInterest ( ) - If the account balance is greater than or equal to 5000.00 an interest rate of 4% or .04 is applied to increase the balance. If the balance is greater than or equal to 3000.00 an interest rate of 3% or .03 is applied to increase the balance. Otherwise use an interest rate of 2%. The new balance is returned to the calling program.
    • Constructor:
    o Inherited from the Account class. (no code needed)
    Main:
    Prompt the user for the bank name and routing number. Create at least two account objects (each of a different type). Process a deposit then withdraw then calculate the interest for each account. Generate the following report:
    Bank Name: XXXXXXXX Routing Number: XXXXXX
    Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99
    Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99


    Step 2: Greeting
    Create an applet of size 500 by 500. The background color of the applet should be yellow. The four components to be included are
    1. a Label object that has the text "Please enter your name;"
    2. a Textfield object of size 20;
    3. a Button object with the text "GREET;" and
    4. a Label object with the text "Result goes here." This label will change to "Hello," followed by the entered name.
    For this lab, you will need the actionPerformed method to provide event handling for the button.
    The getText() method will be needed to get the string from the TextField.
    The setText() method will be needed to change the text of the second Label.
    Test your applet by entering your full name and confirming that the result label has changed.

    Learn More
  2. Grade Calculator Java Assignment

    Grade Calculator Java Assignment

    Regular Price: $15.00

    Special Price: $12.00

    Grade Calculator Java Assignment

    In this lab Use two classes to do this assignment. Name the first class TestGrade, it will be a driver class that is to create an instance of the second class, prompt and get values, and display values. The second class will be named Grade, this is where all the core logic in contained.

    Learn More
  3. CIS355A Week 4 iLab Quick Fast Car Care Application

    CIS355A Week 4 iLab Quick Fast Car Care Application

    Regular Price: $25.00

    Special Price: $20.00

    CIS355A Week 4 iLab Quick Fast Car Care Application


    iLAB STEPS
    Step 1: Quick Fast Car Care Application
    Quick Fast Car Care is a small business that specializes in oil changes and car washes. Their strategic advantage is providing quick service. To provide quick service, this owner wants a new application that will calculate services provided to customers. The table below has the services and the cost of these services.


    Oil Change Cost
    Bronze $20
    Silver $25
    Gold $30

    Car Wash Cost
    Basic $5
    Better $10
    Best $15


    Your manager wants you to create a prototype Java application using menus that will calculate the cost of a customer getting an oil change, car wash, or both. This application should add the appropriate amount to the total cost when services are provided. When the total menu item is selected, a message box should display the services purchased and the total amount. Allow the client to use the clear menu item to wipe out the memory and start fresh for a new customer. The exit menu item should close the application. Use the screen designs below to model your application.

    Learn More
  4. CMIS 242 Project 1 Automobile class

    CMIS 242 Project 1 Automobile class

    Regular Price: $20.00

    Special Price: $15.00

    CMIS 242 Project 1 Automobile class


    Design and implement an automobile class along with four subclasses using the following guidelines:
    1. Create a class named Automobile and four subclasses. They can be any named anything you want that is considered an automobile. You can use brand names, car types, etc.
    - Some examples: SUV, Electric, Mercedes, Convertible.
    - Whatever you choose, all four subclasses should be somewhat related.
    2. The Automobile class the following data fields:
    - licensePlateNumber
    - isStarted
    - isForSale
    3. The Automobile class also has methods for setting and getting the values of each of the fields.
    4. The Automobile class also has a constructor that sets the isStarted and isForSale data fields to false.
    5. The Automobile class also has methods for describing what the automobile looks like (e.g., color, shape, condition, etc.). This is again your choice.
    6. Each of the four subclasses should also contain one additional data field and the appropriate get/set methods.
    7. Finally, create a Java test class that simulates using your Automobile class and its subclasses. In your test class you should, at a minimum:
    - construct at least one instance of each automobile
    - start at least two of the instances
    - put at least two of the instances up for sale (at least one of the not-started instances)
    - print the description for each of the instances


    Additionally, draw a UML class diagram of your classes using PowerPoint (PPT), Draw.io, or any other graphical editing tool.
    Be sure your code compiles and runs as expected.


    Submission Requirements
    Your deliverables include five Java files, one Java test file, and your UML diagram(s). Submit each of these files to your LEO assignment area no later than the associated due date.

    Learn More
  5. BMIS 212 Week 2 Programming Assignment Exercise 311 Modified GradeBook Class

    BMIS 212 Week 2 Programming Assignment

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 212 Week 2 Programming Assignment


    Exercise 3.11 (Modified GradeBook Class) Modify class Gradebook (fig. 3.10) as follows:
    a. Include a String instance variable that represents the name of the course's instructor.
    b. Provide a set method to change the instructor's name and a get method to retrieve it.
    c. Modify the constructor to specify 2 parameters—one for the course name and 1for the instructor's name.
    d. Modify method displayMessage to output the welcome message and course name, followed by "This course is presented by:" and the instructor's name.


    Exercise 3.14 (Employee Class) Create a class called Employee that includes 3 instance variables—a first name (type String), a last name (type String), and a monthly salary (double). Provide a constructor that initializes the 3 instance variables. Provide a set and a get method for each instance variable. If the monthly salary is not positive, do not set its value. Write a test application named EmployeeTest that demonstrates class Employee’s capabilities. Create 2 Employee objects and display each object’s yearly salary. Then give each Employee a 10% raise and display each Employee’s yearly salary again.


    Exercise 3.15 (Date Class) Create a class called Date that includes 3 instance variables—a month (type int), a day (type int), and a year (type int). Provide a constructor that initializes the 3 instance variables and assumes the values provided are correct. Provide a set and a get method for each instance variable. Provide a method displayDate that displays the month, day, and year separated by forward slashes(/). Write a test application named DateTest that demonstrates class Date's capabilities.

    Learn More
  6. BMIS 212 Week 1 Programming Assignment churchs website chatting

    BMIS 212 Week 1 Programming Assignment

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 212 Week 1 Programming Assignment


    In this new age of Technology (Website, social media, etc., we have been given the opportunity to minister and serve others in many ways. Using the techniques you have learned in this chapter, write a program which displays at least 5 different sentences that explain how technology has been used to win souls to Christ.


    Instructions: Write a portion of a program for a church's website. The program will be used for a chatting feature, which should include an Input Box that requests the user's name. The message box should include the user's name and the Scripture of the Day (chapter and verse only).


    The program should be similar to the text below:
    Welcome, Bob, To The Liberty University Website!
    The Scripture for the day is: Matthew 6:11


    The assignment must have the following statements and components as demonstrated in the text:
    1 Java file and 1 Class file
    Variable
    Input Statement


    Program should follow Java Programming Conventions as shown in the Grading Rubric.


    Exercise 2.14 Write an application that displays the numbers 1 to 4 on the same line, with each pair of adjacent numbers separated by 1 space. Use the following techniques:
    Use 1 System.out.println statement
    Use 4 System.out.print statements
    Use 1 System.out.printf statement


    Exercise 2.15 (Arithmetic) Write an application that ask the user to enter 2 integers, obtains them from the user and prints their sum, product, difference and quotient (division). Use the techniques shown in Figure 2.7


    Exercise 2.26 (Comparing Integers) Write an application that reads 2 integers, determines whether the first is a multiple of the second and prints the result. [Hint: Use the remainder operator.]

    Learn More
  7. IT215 Week 6 Inventory Program Part 3

    IT215 Week 6 Inventory Program Part 3

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Six: Object-Oriented Programming


    CheckPoint Inventory Program Part 3


    Modify the Inventory Program by creating a subclass of the product class that uses one additional unique feature of the product you chose (for the DVDs subclass, you could use movie title, for example). In the subclass, create a method to calculate the value of the inventory of a product with the same name as the method previously created for the product class. The subclass method should also add a 5% restocking fee to the value of the inventory of that product.


    Modify the output to display this additional feature you have chosen and the restocking fee.

    Learn More
  8. IT215 Week 7 Inventory Program Part 4

    IT215 Week 7 Inventory Program Part 4

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Seven: Graphics


    CheckPoint Inventory Program Part 4


    Modify the Inventory Program to use a GUI. The GUI should display the information one product at a time, including the item number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory of that product. In addition, the GUI should display the value of the entire inventory, the additional attribute, and the restocking fee.

    Learn More
  9. IT215 Week 8 Inventory Program Part 5

    IT215 Week 8 Inventory Program Part 5

    Regular Price: $15.00

    Special Price: $12.00

    IT215 Week Eight: Files and Streams


    CheckPoint Inventory Program Part 5


    Modify the Inventory Program by adding a button to the GUI that allows the user to move to the first item, the previous item, the next item, and the last item in the inventory. If the first item is displayed and the user clicks on the Previous button, the last item should display. If the last item is displayed and the user clicks on the Next button, the first item should display.


    Add a company logo to the GUI using Java graphics classes.

    Learn More
  10. IT215 Week 9 Inventory Program Part 6

    IT215 Week 9 Inventory Program Part 6

    Regular Price: $15.00

    Special Price: $12.00

    IT215 Week Nine: Java Programming Applications


    CheckPoint Inventory Program Part 6


    Modify the Inventory Program to include an add button, a delete button, and a modify button on the GUI. These buttons should allow the user to perform the corresponding actions on the item name, the number of units in stock, and the price of each unit. An item added to the inventory should have an item number one more than the previous last item.


    Add a save button to the GUI that saves the inventory to a C:\data\inventory.dat file.


    Use exception handling to create the directory and file if necessary.


    Add a search button to the GUI that allows the user to search for an item in the inventory by the product name. If the product is not found, the GUI should display an appropriate message. If the product is found, the GUI should display that product’s information in the GUI.


    Post as an attachment in Java format.

    Learn More

Items 11 to 20 of 109 total

per page
Page:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

Grid  List 

Set Ascending Direction