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 105 total

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

Grid  List 

Set Ascending Direction
  1. CMIS 242 Project 4 Color Menu

    CMIS 242 Project 4 Color Menu

    Regular Price: $25.00

    Special Price: $20.00

    CMIS 242 Project 4 Color Menu


    This project focuses on demonstrating your understanding of Java Collections. Before attempting this project, be sure you have completed all of the reading assignments listed in the syllabus to date, participated in the weekly conferences, and thoroughly understand the examples throughout the chapters.
    Write a Java application that effectively uses Collections to store custom color definitions (between 5 and 20, inclusive).
    The user should assign a unique name to each color, and a unique hexadecimal value (e.g., red is #FF0000).
    User input can be done in a GUI or on the command-line.
    Your program should enforce uniqueness. In other words, if the user enters a name for a color that already has that name, then the user should be reprompted. (Same behavior for the hexadecimal value.)
    Additionally, a GUI should be included that displays the color names and hexadecimal values.
    Each name/value pair should be selectable via a radio button or other mechanism.
    When a color is selected, an area of the GUI should change to that color (the area is up to you, as long as it's visible).

    Learn More
  2. CIS355A Week 1 iLab Sales Tracking Java Program

    CIS355A iLab Week 1 SalesTracking Java Program

    Regular Price: $12.00

    Special Price: $10.00

    CIS355A Week 1 iLab SalesTracking Java Program


    Program files for the sales tracking program: SalesTracking.java


    At the beginning of all your programs, put a comment box that includes the program name, your name, and a brief description of the program.
    Example:
    /***********************************************************************
    Program Name: ProgramName.java
    Programmer's Name: Student Name
    Program Description: Describe here what this program will do
    ***********************************************************************/


    How to submit your assignment:
    The program must have the same name as the assignment title (SalesTracking.java).
    The Java source file (*.java) must include a corresponding class file (*.class) program as evidence of success.
    In addition to the program source code file and byte code file, put your program source code file and screen shots of your program output files into a Word document.
    You must use a zipped folder to send your weekly assignment to the Dropbox. Do not send subfolders within your zipped folder. Place all of the .java and .class file for the week into the one zipped folder. The zip folder should be named CIS355A_YourLastName_iLab_Week1, and this zip folder will contain all the weekly programming assignments.


    iLAB STEPS
    STEP 1: SalesTracking.java
    You must create a sales tracking program named SalesTracking.java. This program must track monthly sales as well as compute average yearly sales, total sales for the year, and which month had the highest sales and which month had the lowest sales.
    The program should prompt the user for the sales for each month starting with January. After all the monthly sales have been entered, your program should have methods that do the following.
    getSales(): This method prompts the users for the sale for each month. The return value for this method will be the amount that the user entered. This amount should be stored and returned into the corresponding location in the monthlySales array. For example, January sales should be stored in the first location, February sales should be stored in the second location, and so forth. This method should be enclosed in a loop to facilitate this process.
    computeTotalSales(monthlySales): This method receives the monthly sales array as an argument and returns the total sales of the year.
    computeAverageSales(monthlySales): This method receives the monthly sales array as an argument and returns the average sales for the year.
    computeHighestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare the values of the monthly sales array for the highest value. Once the highest value has been determined, it will store the value in the value that corresponds with the index of that month. The method will return the index of the month with the highest value.
    computeLowestMonth(monthlySales): This method receives the monthly sales array as an argument. This method will search and compare the values of the monthly sales array for the lowest value. Once the lowest value has been determined, it will store the value in the value that corresponds with the index of that month. The method will return the index of the month with the lowest value.
    displaySaleInfo(totalSales, averageSales, highestMonth, highestSales, lowestMonth, lowestSales): This method will receive the total yearly sales, average monthly sale, the month with the highest sales, as well as the sales for that month and the month with the lowest sales. This method will display all of the data it received as arguments.
    All methods must be called from the main method. Sales amounts should be rounded to two decimal places. You should use parallel arrays. Your first array (monthArray) should be initialized with all of the months. This array should have 12 locations of course. Your other array should be named monthlySales. Like your monthArray, this array should be 12 locations and be populated with the getSales( ) method.
    Your monthArray should have the following values.
    monthArray


    JANUARY FEBRUARY MARCH ..... ..... ..... NOVEMBER DECEMBER
    You should demonstrate the use of loop and decision structures also. Use the lab forum to ask questions about this lab.
    SalesTacking Points Description
    Standard header included 1 Must contain program's name, student name, and description of the program
    Program compiles 2 Program does not have any error
    Declaration of variables 4 Declare needed variables
    Program executes 3 Program runs without any error
    Use of decision statement(s) 5 Implement decision statements correctly
    Use of loop statement(s) 5 Implement loop statements correctly
    Use of methods 15 Implement all methods correctly
    Use of arrays 5 Implement arrays correctly
    Subtotal 40

    Learn More
  3. CIS355A Week 2 iLab StudentGPAInfo Java Program

    CIS355A Week 2 iLab StudentGPAInfo and CurrencyConversion Java Program

    Regular Price: $25.00

    Special Price: $20.00

    CIS355A Week 2 iLab StudentGPAInfo and CurrencyConversion Java Program


    In this lab, you will create two programs that use classes and methods.
    Deliverables
    Program files for the following program
    StudentGPAInfo
    CurrencyConversion


    STEP 1: StudentGPAInfo (20 points)
    Create a class called StudentGPAInfo.java that contains one double-precision instance variables named gpa. It should also contain two integer instance variables named totalgradepoints and numberofclasses. Finally, there should be one instance variable named studentname of string type. The class should include a constructor that initializes the name, numberof classes, and totalgradepoints variables, as well as a default constructor. Also, you need an instance method named calculateGPA() that calculates the student's grade point average by using this formula: totalgradepoints divided by numberofclasses. Also, you need an instance method. Create one set method that will assign values to the studentname, totalgradepoints, and numberofclasses variables. Create a displayStudent method that will display all of the attributes of the StudentGPAInfo object. Display the GPA with an accuracy of two decimal places (i.e., 3.25).


    Write a class called GPATest.java. Create one StudentGPAInfo object named student1 using constructor that allows you to pass values to the object. Pass any values you would like to use. Create another StudentGPAInfo object named student2 using the default constructor. Using the set method, assign values to the student2 object. Next, use the calculateGPA() methods on both objects, then invoke the displayStudent() method on each of the objects.


    STEP 2: CurrencyConversion (20 points)
    You must create a program named CurrencyConversion.java that converts money between the following currencies.
    Given one of the three currencies, the program should convert the input amount into one of the other currencies. For example, if you input one (1) U.S. dollar, and you decide to convert that one dollar to a pound, then the output should be .60.
    Using the JOptionPane GUI, do the following.
    Prompt the user for the currency code type.
    Prompt the user for the amount of that currency.
    Prompt the user for the currency code that the entered amount must be converted to.
    Using the table above, the following formula was used to convert USD to JPY.
    10.00 * 103.73 = 1,037.30
    Display the results in a JOptionPane message box.

    Learn More
  4. BMIS 212 Week 7 Programming Assignment Catching Exceptions Using Class Exception

    BMIS 212 Week 7 Programming Assignment

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 212 Week 7 Programming Assignment


    Exercise 11.9 (Order of catch Blocks) Write a program that shows that the order of catch blocks is important. If you try to catch a superclass exception type before a subclass type, the compiler should generate errors.


    Exercise 11.17 (Catching Exceptions with Superclasses) Use inheritance to create an exception superclass (called ExceptionA) and exception subclasses ExceptionB and ExceptionC, where ExceptionB inherits from ExceptionA and ExceptionC inherits from ExceptionB. Write a program to demonstrate that the catch block for type A ExceptionA catches exceptions of types ExceptionB and Exception C.


    Exercise 11.18 (Catching Exceptions Using Class Exception) Write a program that demonstrates how various exceptions are caught with Catch
    (Exception exception).
    This time define classes ExceptionA (which inherits from class Exception) and ExceptionB (which inherits from class ExceptionA). In your program, create try blocks that throw exceptions of types ExeptionA, ExceptionB, NullPointerException and IO Exception. All exceptions should be caught with catch blocks specifying type Exception.

    Learn More
  5. BMIS 212 Week 5 Programming Assignment Variable-Length Argument List

    BMIS 212 Week 5 Programming Assignment

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 212 Week 5 Programming Assignment

    Exercise 7.14 (Variable-Length Argument List) Write an application that calculates the product of a series of integers that are passed to method product using a variable-length argument list. Test your method with several calls, each with a different number of arguments.

    Exercise 7.19 (Airline Reservations System) A small airline has just purchased a computer for its new automated reservations system. You've been asked to develop the new system. You're to write an application to assign seats on each flight of the airline's only plane (capacity: 10 seats).
    Your application should display the following alternatives: "Please type 1 for First Class" and "Please type 2 for Economy." If the user types 1, your application should assign a seat in the first class section (seats 1–5). If the user types 2, your application should assign a seat in the economy section (seats 6–10). You application should then display a boarding pass indicating the person's seat number and whether it's in the firstclass or economy section of the plane.
    Use a 1 dimensional array of primitive type Boolean to represent the seating chart of the plane. Initialize all the elements of the array to false to indicate that all the seats are empty. As each seat is assigned, set the corresponding element of the array to true to indicate that the seat is no longer available.
    Your application should never assign a seat that has already been assigned. When the economy section is full, your application should ask the person if it's acceptable to be placed in the first class section (and vice versa). If yes, make the appropriate seat assignments. If no, display the message "Next flight leaves in 3 hours."

    Exercise 8.4 (Rectangle Class) Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle's perimeter and area. It has set and get methods for both length and width. The set methods should verify that length and width are each floating-point numbers larger than 0.0 and less than 20.0. Write a program to test class Rectangle.

    Learn More
  6. IT215 Week 5 Inventory Program Part 1

    IT215 Week 5 Inventory Program Part 1

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Five: Arrays and Exception Handling


    CheckPoint Inventory Program Part 1


    Choose a product that lends itself to an inventory (for example, products at your workplace, office supplies, music CDs, DVD movies, or software).


    Create a product class that holds the item number, the name of the product, the number of units in stock, and the price of each unit.


    Create a Java application that displays the product number, the name of the product, the number of units in stock, the price of each unit, and the value of the inventory (the number of units in stock multiplied by the price of each unit). Pay attention to the good programming practices in the text to ensure your source code is readable and well documented.

    Learn More
  7. IT215 Week 6 Inventory Program Part 2

    IT215 Week 6 Inventory Program Part 2

    Regular Price: $12.00

    Special Price: $10.00

    IT215 Week Six: Object-Oriented Programming


    CheckPoint Inventory Program Part 2


    Modify the Inventory Program so the application can handle multiple items. Use an array to store the items. The output 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 output should display the value of the entire inventory.


    Create a method to calculate the value of the entire inventory.


    Create another method to sort the array items by the name of the product.

    Learn More
  8. 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
  9. 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
  10. 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

Items 11 to 20 of 105 total

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

Grid  List 

Set Ascending Direction