Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need a correct answer in java please i keep getting only 5/10 with this answer 3.16 LAB: Course information (derived classes) Given main0, define

I need a correct answer in java please i keep getting only 5/10 with this answer

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

3.16 LAB: Course information (derived classes) Given main0, define a Course base class with methods to set and get private fields of the following types: - String to store the course number - String to store the course title Define Course's Printinfo0 method that outputs the course number and title. Then, define a derived class of feredcourse with methods to set and get private fields of the following types: - String to store the instructor's name - String to store the location - String to store the class time Ex, If the input is: RCF: 2.87 Digitel Syatems Design ECE 387 Embedded Systens Design Mark Patterson Wilson Fall 231 Course Information: Course Number: ECE287 Course Title: Digital Systems Design Course Intormation: Course Number: ECE38: Course Title: Embedded Systens Design Instructor Name: Mark Patterson Location: Wilson Hall 231 Class Time: WF' 23:30pm \begin{tabular}{l|l} LAB & 3.16.1: LAB: Course information (derived classes) \end{tabular} Current file: OfferedCourse.java - Load default template... 1 class 0fferedCourse extends Course \{\} I/private fields for offeredCourse private String instructorName; private String location; private String classTime; //methods to set and get the private fields public void setInstructorName(String instructorName) this.instructorName = instructorName; public String getInstructorName() return this.instructorName; \} public void setLocation(String location) \{ \} this.location = location; public String getLocation() \{ \} return this.location; When done developing your program, press the Submit for grading button below. This will submit your program for auto-grading. When done developing your program, press the Submit for grading button below. This will submit your program for auto-grading

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Online Market Research Cost Effective Searching Of The Internet And Online Databases

Authors: John F. Lescher

1st Edition

0201489295, 978-0201489293

More Books

Students also viewed these Databases questions