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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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