Java | JSP | JSF Answers

Questions answered by Experts: 3 611

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

You are required to create a console application that will capture a customer number and determine the value of the customers coin portfolio. The application must capture the customer number and the amount of silver, gold and platinum coins in a customer's portfolio.


The Bone Jour Dog Day Care Centre charges clients a daily rate that is based on both the size of the dog and number of days per month in a client’s contract. The following tableshows the daily rates.Prompt the user to enter a dog’s weight and number of days per month needing care, then calculate and display the daily rate and the total for the month (days times the daily rate). Save the file as DogDayCare.java


Create a class named TestCircle whose main() method declares several Circle objects. Using the setRadius() method, assign one Circle a small radius value, and assign another a larger radius value. Do not assign a value to the radius of the third circle; instead, retain the value assigned at construction. Display all the values for all the Circle objects. Save the applicationas TestCircle.java.


Team ABC approaches you to design for them a payroll system that will later be converted into an application The design must show all the classes and interface and the relationship existing between them.


Defender get bonus rate based on the number of games played which is 20%, Goalkeepers number of clean sheet 10%,Middlefielder of assist 10&, Strikers number of goals scored.

The payroll must have the following functionalities

1. Given a list of players, the system must determine and store the total payment of each player in a list.

2. Given a list of salaries for players, the system must determine the monthly costs of the team

3. Given a list of player , the system must determine the best monthly striker.


1.

Write a java program to implement an A VL Tree with the following

operations:


A. Inset a node in the A VL Tree

B. Delete a node in the AVL Tree

C. Search a node in the AVL Tree


D. Print the nodes in the AVL Tree

E. Exit the program.

Implement the above operations in five different methods.

All the methods will be called from main method according to user choice.



What are the states representing the following links:

a link

b visited

c hover

d active


Select the option that creates a sorted list. Where all Java program files are stored, in the folder

a <list>

b <dl>

c <ol>

d <ul>


(Abstract class, Interface, Method Overriding)Write a java program with proper

illustration to implement the following instructions:

e) Create a class Cat that extends Feline, then override the callSound() method and print

“meow” , also override the run() method and return 30.

f) Create a class Wolf that extends Canine, then override the callSound() method and

refer immediate parent class callSound() method , also override the run() method and

return 20.

g) Create a class Dog that extends Canine, then override the callSound() method, print

“woof” and refer immediate parent class callSound() method , also override the run()

method and return 10.

h) Create a class Main and write the main() method, then create object as-

Animals[] animals = new Animals[4];

animals[0] = new Cat();

animals[1] = new Dog();

animals[2] = new Wolf();

animals[3] = new Lion();

for i=0→animals.length: call animals[i].callSound() and analysis the outputs.



(Abstract class, Interface, Method Overriding)Write a java program with proper

illustration to implement the following instructions:

a) Create an interface named Animals which declare a void method callSound() and a

int method run().

b) Create an abstract class Feline that implements Animals, then override the

callSound() method and print “roar”.

c) Create an abstract class Canine that implements Animals, then override the

callSound() method and print “how1”.

d) Create a class Lion that extends Feline, then override the callSound() method and

refer immediate parent class callSound() method , also override the run() method and

return 40.



Set hasDigit to true if the 3-character passCode contains a digit.


LATEST TUTORIALS
APPROVED BY CLIENTS