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

Please do my StackedTicTacToe project.


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.


Implement Java code to compare two characters for a competition.

Attribute 1 of character 1 will be numeric, and attribute 2 will be textual 


At Mr. G school of Programming, the final school fees to be paid is calculated as follows.

  • Original Fees should be greater than or equal to R50 000
  • Minimum fixed deposit of R10 000
  • If deposit is greater than pr equal to half the original fees, you get a 5% discount from the original fees
  • Final total fees will also include the following
  1. School Levy is 10% of original fees
  2. Sports fee is 5% of original fees.

Write a program the calculates the final total fees to be paid.

Program must request user to enter original fees value greater then R50 000.

Program should also request user to enter amount to deposit before calculating final total fees.




create a class named course details that will contain get and set methods for the course name student and lecturer. in the course details class include a method called assign venue that will randomly generate a venue 1 to 3 only your method must include a static method to handle printing 

course code DISD, DIWD,DIDM 

student number 35,28,39 

lecturer mr jones , mrs smith, mr ntsinga


there should be a JoptionPane


you are required to create a console application that will capture the amount of votes that a student representative has received during the annual student body elections. the application must capture the student names and the amount of votes. in your solution, include a class called votes. the class must include the following:

*variables to store the student name and votes received.

* variables to store the total and average votes.

*use a constructor or method to set the variables.

* two methods to calculate the total and average votes.

* a method to print the report. the report must display good or poor voting attendance. if the total amount of student votes is greater than 150, display good voting attendance, otherwise display poor voting attendance


LATEST TUTORIALS
APPROVED BY CLIENTS