BIT205 Object-Oriented Programming Assignment

Assignment Help Other Subject
Reference no: EM132496558

BIT205 Object-Oriented Programming Assignment - Emirates College of Technology, UAE

Instructions - You are required to accomplish your work individually.

The goal of this assignment is to guide student through the important concept of inheritance in Java object-oriented programming. To suitably accomplish this target, we ask you to follow the following scenarios.

Write Java programs implementing a real-life case study of inheritance. For example, the Human Resource Management Department at Emirates College of Technology has its Java software including the superclass Employee that can be Faculty or Staff. Each Employee has a unique identifier, Full Name, seniority, etc. It has also some behaviors such as Salary(), Vacation(), etc. The subclass Faculty has some particular attributes such as Degree, Position, Specialty, etc. The subclass Staff has also some specific attributes such as Administrative position, extra bonus, etc. Each subclass should override one or many superclass behaviors.

We note here that student cannot use neither this example nor any example from the class or lab exercises already done, but he/she should suggest another different example with different code.

Student is asked to answer the following questions:

1) Create a superclass having the following components:

a. Define at least three attributes having different data types.

b. Define a constructor with parameters to initialize the objects.

c. Define Get() and Set() methods for each superclass attribute.

d. Define at least one method for displaying information in the end user screen.

e. Define at least one method for calculus and display results in the end user screen.

2) Create a subclass that inherits from the superclass with the following components:

a. Attributes:

Inherit the previous attributes from the superclass.

Define at least another new attribute specific for this subclass.

b. Define a constructor with parameters to initialize the objects. The first set of parameters should be assessed from the superclass.

c. Define Get() and Set() methods for the new subclass attribute.

d. Override the superclass method of displaying information in the end user screen.

e. Override the superclass method of calculus and display results in the end user screen.

3) Create a program class including the main() method with the following behaviors:

a. Create an object from the superclass.

b. The superclass object should call the displaying and calculus methods.

c. Create an object from the subclass.

d. The subclass object should call the overridden displaying and calculus methods.

Note - After running your Java code using NetBeans software, copy your programs in this word file, and then provide a screenshot of your code output. If you cannot achieve the output of your execution, you provide only the code without the screenshot.

Reference no: EM132496558

Questions Cloud

GEN 301 Professional Ethics Assignment : GEN 301 Professional Ethics Assignment Help and Solution - Emirates College of Technology, UAE. Discuss how in an organization diffusion of responsibility
Do you agree with the naeyc position statement : Do you agree with the NAEYC position statement that child care should be considered "essential"? Why or why not?
Consequences of overprescribing medications : What might be some of the long-term consequences of overprescribing medications?
How many sections did freud believe mind was divided into : How many sections did freud believe the mind was divided into? What were the names of these sections? What did freud believe was the most important part
BIT205 Object-Oriented Programming Assignment : BIT205 Object-Oriented Programming Assignment Help and Solution - Emirates College of Technology, UAE. Define constructor with parameters to initialize objects
Principles of perceptual organization : Describe some of the principles of perceptual organization?
Natural situation to study the effect of propinquity : Experimenters took advantage of a natural situation to study the effect of "propinquity," or close physical position, on friendships.
What are the causes and the symptoms of stress : What are the causes and the symtoms of stress and what is the strategy for confronting it and please explain how managing this stress by creating a plan?
Describe how psychology applies in everyday life : Describe how psychology applies in everyday life. You could use a newsworthy topic or something of personal interest. If you use an outside source

Reviews

Write a Review

Other Subject Questions & Answers

  Analyze the impact of the policy in the united states

Evaluate the policy you selected and analyze the impact of the policy in the United States if there were a population problem.

  Evaluate the self-help group you attended

Evaluate the self-help group you attended and/or researched. Critique the strengths and weaknesses of self-help groups in terms of their value in the treatment of substance abuse

  Describe the social and legal controversy

Describe the positive and negative benefits from the treatment, evidence of effectiveness, and the potential harm of a different treatment option.

  Has medical treatment impacted the stigma of mental illness

Has medical treatment impacted the stigma of mental illness. Has medication replaced psychotherapy as the primary intervention

  Explain how can socialization and mentoring help people

Explain How can socialization and mentoring help people embrace these changes as a part of career advancement?

  Discuss beliefs about therapy luepnitz

What are the main tenets or beliefs about therapy Luepnitz seems to bring to her work as a clinician

  At what point does the zeigarnik effect become negative

Why is this significant? How might this information be applied in a traditional classroom? How might this be applied in an online classroom? At what point does the Zeigarnik effect become negative

  How familiar with apa were you before watching the workshop

Which workshop(s) did you watch? How familiar with APA were you before watching the workshop(s)?

  Describe different levels of government interrelate

Identify the advantages and disadvantages in the ways that the governments involved work together.

  What are the implications of given as we move forward

Should sport news organizations--such as ESPN--be including (and promoting) sports betting in their regular content? What are the implications of this as.

  Identify which styles you would believe it would beneficial

Your paper should identify at least eight commonly accepted styles of leadership and summarize the characteristics of each. You will then identify the style.

  Discuss about the proposal of a clinical practice guide

Abstract State the problem, the methods (including number of subjects), and the main conclusions.Introduction Provide the context and rationale for the study. State the purpose of the study, provide a review of the literature, point out de?ciencies..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd