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 1 to 10 of 97 total

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

Grid  List 

Set Ascending Direction
  1. Java contact list application Add contact

    Contact list application with JavaDB

    Regular Price: $40.00

    Special Price: $30.00

    Contact list application with JavaDB


    Problem/Scenario: Computers and Personal Digital Assistant (PDA) devices help to organize many aspects of a user’s life. A common application of these devices is a contact list where items such as name and phone number can be stored. You will create a similar application. The company you work for is a very small business and their record keeping is quite outdated. All of the contacts that the company uses are kept on paper. As a newly hired JAVA developer your first task is to create a company contact list application to help control contact information.


    1. Create a Design Document showing a mockup of what the new application will look like and include any details about how it will function. Assume you will present this document to the management of your company.
    2. Create a JAVA application to create and maintain a contact list. The contact list should include the contact name, address, city, state, zip and phone number. In addition, the contact list application must have the ability to Add, Delete, Update and Find contacts as needed.
    3. The contact list application will display appropriate messages when a user successfully adds, updates or deletes a contact and will also display any error messages when a given user action fails.
    4. You must create a database of your choice to store the contact information.


    Note: This tutorial only include tasks 2-4.

    Learn More
  2. Travel Agents System Java Program

    Travel Agents System Java Program

    Regular Price: $30.00

    Special Price: $25.00

    Travel Agents System Java Program


    You are to develop program in Java for a small travel agents. The company arranges holidays from four UK airports to five international destinations. Users need to find flight times and costs for journeys between these destinations. The system also provides information on hotels at the destinations (name of hotel and cost per person per night). Information on hotels can only be added, or loaded from file, when the program is running. The following table (Table 1) provides the airport names, destinations, costs and flight times for the journeys Table 1 Information for the travel agents program – the two values represent cost (£) and flight time (hours) respectively – you can make up your own (realistic values) if you wish


    Airport/Destination | New York |Dahab | Rome |Sydney |Tokyo
    East Midlands |200/5.0 |150/4.0 |100/1.0 |500/22.0 |400/12.0
    Birmingham |190/4.8 |140/3.5 |95/1.1 |480/22.5 |380/12.5
    Heathrow |195/4.9 |140/3.6 |95/1.1 |490/23.0 |390/12.5
    Manchester |210/5.5 |145/3.7 |110/1.2 |470/22.7 |370/12.6


    (the above is a data table, where there is a line, represents the cell)


    Your program should have a main menu with four options – Time, Price, Hotels and End (which terminates the program). The Hotels option takes the user to another (Hotel) menu with the following six options – View Hotels; Add Hotel; Delete Hotel; Save Hotels; Retrieve Hotels; Exit (back to the previous menu). Note that your program should include appropriate error trapping – for example, entering an invalid date (eg 30 February).
    Functionality for each of these menu options is explained below:
    Time – Provides the flight time presented in hours.
    Price – The cost of travelling from an airport to a given destination (both selected by the user). Note, if the customer is travelling on the last day of the month the fare should be increased by 5% (and display a message to say that this has been done). The system will therefore need to ask the user the date of travel. It should not simply ask the user if it is the end of the month – but work this out from a date provided by the user.
    Hotels – Takes the user to a Hotels Information Menu.
    Hotels menu
    View Hotels – The user selects a destination and the system displays all available hotels at that destination including the overnight cost per person. If there are no hotels for a destination it should display a message to say so.
    Add Hotel – Allows the user to add a hotel for a given destination. This should add to the list of existing hotels for that destination (if there are any). For example, I might add 'Belle Vue' as a hotel in Sydney at a cost of £50 per person per night.
    Delete Hotel – Allows the user to delete a hotel from a list of hotels at a destination.
    Save Hotels – save all the information on all hotels to a single file in a format of your choosing.
    Retrieve Hotels – read in all the information on hotels from a user selected file (a file saved using the previous option). This should overwrite any existing hotel data in the program when it is running.


    Marking
    The more functionality you add to the program the higher your mark. Begin by getting the menu options in place then add functionality to your program in the following order (make sure that earlier parts of the system are working properly before moving on). Your program should also be structured in an object oriented way. You should try to identify and implement a number of classes for this program.


    Minimum pass (40%)
    The flight time between any airport and destination;
    The cost of travel between any airport and destination;
    Increased cost of travel on the last day of the month and a message to say this has been applied;


    40%-70%
    View hotels – users can view information on all hotels at a chosen destination; Add hotel – the ability for users to add hotels for a destination;
    Sort hotels – users can sort all hotels alphabetically;


    Documentation
    Your coursework should be submitted with appropriate documentation. You should include class diagrams, designs, functionality not completed, functionality working, test plans, evaluation, and program listings. Make sure you include an explanation of how your code should be run (eg. which file should be compiled and run and anything I need to know about using the program – a user guide).

    Learn More
  3. Tracking Contributors Linked List Java Program

    Tracking Contributors Linked List Java Program

    Regular Price: $15.00

    Special Price: $12.00

    Tracking Contributors Linked List Java Program


    Your first task in developing the application for tracking contributors is to load a list of the people who are helping the cause. Design and develop a linked list, implemented as a stack, to track all of the contributors. You will read the contributor information from a file provided; it is a comma delimited (CSV) file. Your design should include the following:


    Each contributor will have the following Information:
    • Name: String; //the name of the contributor
    • City: String; //the city in which the contributor lives
    • Country: String; //the country in which the contributor lives
    • Phone: String; //the phone number for the contributor
    • Contribution: Double; //the amount of the contribution given by the contributor to the zoo
    • ID: Integer; //identifier key for future needs


    Contributor Functions/Methods:
    • Input constructor: //to accept a string for the name and additional information for each contributor (this should call the Push constructor to implement the stack)
    • Print constructor: //to print out the contributor data
    • Pop constructor
    • Push constructor


    Deliverables:
    • A fully documented program to load the data implemented as a stack
    • A test plan to show how the program runs and can be executed
    • A screenshot showing that the program loaded the data, and after all data is loaded, perform a single pop of the stack

    Learn More
  4. BMIS 212 Week 4 Programming Assignment Exercise 6.35 Computer-Assisted Instruction

    BMIS 212 Week 4 Programming Assignment

    Regular Price: $15.00

    Special Price: $12.00

    BMIS 212 Week 4 Programming Assignment


    Exercise 6.16 (Multiples) Write a method isMultiple that determines, for a pair of integers, whether the second integer is a multiple of the first. The method should take 2 integer arguments and return true if the second is a multiple of the first and false otherwise.[Hint: Use the remainder operator]. Incorporate this method into an application that inputs a series of pairs of integers (1 pair at a time) and determines whether the second value in each pair is a multiple of the first.


    Exercise 6.20 (Circle Area) Write an application that prompts the user for the radius of a circle and uses a method called circleArea to calculate the area of the circle.


    Exercise 6.35 (Computer-Assisted Instruction) The use of computers in education is referred to as computer assisted instruction (CAI). Write a program that will help an elementary school student learn multiplication. Use a Random object to produce 2 positive 1-digit integers. The program should then prompt the user with a question, such as "How much is 6 times 7?"


    The student then inputs the answer. Next, the program checks the student’s answer. If it's correct, display the message "Very Good!" and ask another multiple question. If the answer is wrong, display the message "No. Please try again." And let the student try the same question repeatedly until the student finally gets it right. A separate method should be used to generate each new question. This method should be called once when the application begins execution and each time the user answers the question correctly.

    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. 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
  7. 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
  8. 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
  9. 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
  10. CMIS 242 Homework 2 Simplified Calculator

    CMIS 242 Homework 2 Simplified Calculator and Searchable Interface

    Regular Price: $12.00

    Special Price: $10.00

    CMIS 242 Homework 2 Simplified Calculator and Searchable Interface


    Simplified Calculator
    1. Write a Java application that asks a user to enter two integers (we'll call them A and B, but you can name them whatever you want in your program).
    2. Your application should then display the results of:
    - A / B
    catch any divide by zero errors and prompt the user to enter a new value for B
    - A ^ B
    A to the B power
    3. Be sure your code compiles and runs as expected.


    Searchable Interface
    1. Write a Java interface named Searchable with two abstract methods:
    1. searchMethod that returns a String
    2. minTime that returns an Integer
    2. Be sure your code compiles without errors.

    Learn More

Items 1 to 10 of 97 total

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

Grid  List 

Set Ascending Direction