Java | JSP | JSF Answers

Questions: 4 418

Answers by our Experts: 3 943

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

When the application starts, it must display the following menu structure:

Sample Menu Screenshot
BRIGHT FUTURE TECHNOLOGIES APPLICATION
*************************************************
Enter (1) to launch menu or any other key to exit
Please select one of following menu items:
(1) Capture a new product
(2) Search for a product
(3) Update a product
(4) Delete a product
(5) Print report
(6) Exit application

A Basic Calculator

In this project, you will use classes, methods, and objects to create a simple arithmetic calculator. The calculator will be able to:

  • Add two integers
  • Subtract two integers
  • Multiply two integers
  • Divide two integers
  • Apply the modulo operator on two integers

Create a class called Car. The Car class has the following fields: int speed, double

regularPrice, String color.

Create a sub class of Car class and name it as Truck. The Truck class has the

following fields and methods: int weight, double getSalePrice(); //If

  1. weight>2000,10%discount.Otherwise,20%discount.

rogram 6 – Employee rules Code the following program in Java. There will be many source files.  Most employees work 37.5 hours per week.  Most employees earn R50 000 per year. Managers earn R20 000 extra per year.  Most employees get 15 workdays leaves a year. Managers get an extra 3 days leave per year.  Secretaries must work 40 per week.  Everybody must apply for leave online. Managers also need to get the approval of the CEO of the company when taking leave.  Employees knows how to work. Managers knows how to manage and secretaries knows how to type. Code your classes according to the following class diagram. Name is the only attribute you need.Required 1. : Code the classes Employee, Manager and Secretary. 2. Extra Code an application with a main method. In this class you must code an array o Employee with a maximum size of 20. a. b. c. Add a minimum of 10 objects to the array. You may hard The objects must be a mixture of Employee, Manager and Secretary. Display all the objects on the screen.


Your application must make use of concepts such as arrays, loops, inheritance, constructors
and information hiding. Output must be shown in the form of a report using the console.
In your solution, make use of as many concepts, and components dealt with in this course, but
pay special attention to the following learning units:
• Learning Unit 1: Advanced arrays.
• Learning Unit 2: Introduction to inheritance
1. In your solution, you must create a class called Products, which will contain all your working
methods.
2. This class will, as a minimum, contain the following methods, but you are encouraged to
add more methods:
• SearchProduct();
• SaveProduct();
• UpdateProduct();
• DeleteProduct();
• DisplayMenu();
• CaptureProduct();
• ExitApplication();
3. Finally, create a main class to run your application

The Admission to a professional course is done using the following conditions.


a) Marks in Maths> =60


b) Marks in Physics >=50


c) Marks in chemistry >=40


d) Total in all the three subjects >=200 (or) Total in Maths and Physics >=150


Given the marks of three subjects, write a java program to process the applications to list the eligible candidates.  (with if and if else only)



Create a Mobile class with properties, which can be set once while creating object using constructor arguments. Create  getProperties() methods which are having public access modifiers.


Write a program to implement encapsulation.


What is the difference between overloading and overriding?


LATEST TUTORIALS
APPROVED BY CLIENTS