SophiaPretty

(5)

$14/per page/Negotiable

About SophiaPretty

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Applied Sciences,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Economics,Engineering,English,Environmental science,Essay writing Hide all
Teaching Since: Jul 2017
Last Sign in: 304 Weeks Ago, 1 Day Ago
Questions Answered: 15833
Tutorials Posted: 15827

Education

  • MBA,PHD, Juris Doctor
    Strayer,Devery,Harvard University
    Mar-1995 - Mar-2002

Experience

  • Manager Planning
    WalMart
    Mar-2001 - Feb-2009

Category > Health & Medical Posted 12 Oct 2017 My Price 10.00

Please help me with creating a program of the attached documents. Please help

College / Department:Online EducationLaboratoryExercise No.008LABORATORY EXERCISEPage 1 of 4Instructions:Upload your solution to the link provided on the course page.Create one NetBeans project for the 2 problems below.The project nameshould beProject Name:Lab8_<lastname_Frstname>Example:Lab8_Blanco_MariaCompress the NetBeans project into .rar or .zip format.The class names to be created are speciFed in each problem.There should only be one main class (the class that contains the mainmethod) where the implementation of the 2 problems will be done.Nameit asLab8Main.±ollow the project structure below.Only NetBeans project compressed in .rar or .zip format will beaccepted.1. Extending StudentRecordClass Names:Lab8Main (main class)StudentRecordComputerScienceStudentRecordThe StudentRecord class is given for your reference.The following are your tasks:1)Overloadthe StudentRecord constructor with one that accepts 4 parameters namely thename, mathGrade, englishGrade and scienceGrade.2)Create a class that will inherit the a±ributes and methods of the StudentRecord class andname it ComputerScienceStudentRecord.Use theextendskeyword for inheritance.
Background image of page 1
3)TheComputerScienceStudentRecord class will only have a comprogGrade a±ribute of doubledata type.Its constructor should accept 5 parameters namely the name, mathGrade,englishGrade, scienceGrade and comprogGrade.4)Inside the ComputerScienceStudentRecord constructor, use thesuperkeyword to call on theconstructor of the StudentRecord and be able to assign the Frst 4 parameters.The value ofthe last parameter will be assigned to comprogGrade.5)Overridethe computeAverageGrade method of the StudentRecord class in theComputerScienceStudentRecord class.The result should be the average grade from the 4subjects, Math, English, Science and Computer Programming.6)Create a class that would contain the main method and name it Lab8Main.In the mainmethod, instan²ate a ComputerScienceStudentRecord object that has 5 parameters.Thesample output is shown below.public class StudentRecord {//these are the a±ributesprivate String name;private double mathGrade;private double englishGrade;private double scienceGrade;//this is the constructorpublic StudentRecord(){this.name="";this.mathGrade=0;this.englishGrade=0;this.scienceGrade=0;}Course CodeType Course Code HereDescriptionComputer Programming 2College / Department:Online EducationLaboratoryExercise No.008LABORATORY EXERCISEPage 2 of 4//these are the mutators and accessorspublic String getName() {return name;}public void setName(String name) {this.name = name;}public double getMathGrade() {return mathGrade;}
Background image of page 2
public void setMathGrade(double mathGrade) {this.mathGrade = mathGrade;}public double getEnglishGrade() {return englishGrade;}public void setEnglishGrade(double englishGrade) {this.englishGrade = englishGrade;}public double getScienceGrade() {return scienceGrade;}public void setScienceGrade(double scienceGrade) {this.scienceGrade = scienceGrade;}//custom methodpublic double computeAverageGrade(){return (this.mathGrade + this.englishGrade + this.scienceGrade)/3;}}Course CodeType Course Code HereDescriptionComputer Programming 2College / Department:Online EducationLaboratoryExercise No.008LABORATORY EXERCISEPage 3 of 4Sample Output:
Background image of page 3
Course CodeType Course Code HereDescriptionComputer Programming 2College / Department:Online EducationLaboratoryExercise No.008LABORATORY EXERCISEPage 4 of 42. The Shape Abstract ClassClasses Names:Lab8Main (main class)ShapeCircleSquareCreate an abstract class called Shape with abstract methods getArea() and getName().Writetwo of its subclasses Circle and Square.Override these methods in the Circle and Square classes.Inthe main method (LabExercise8 class), instanTate an object of the Circle class of radius 4 units, and anobject of the Square class of side 5 units.±he sample output is shown for your reference.Sample Output:
Background image of page 4

Attachments:

Answers

(5)
Status NEW Posted 12 Oct 2017 07:10 AM My Price 10.00

-----------  ----------- H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly

Not Rated(0)