Lecture 4 – Case Study TCP1201: 2017/2018.

Slides:



Advertisements
Similar presentations
Java
Advertisements

Exception Handling Shirley Moore CS 1401 Spring 2013 cs1401spring2013.pbworks.com May 7,
 Photography Degree Requirements catalog College of Social and Behavioral Sciences Presented by The Photography Department and the Office of.
Class Advisement Surveys Class Advisement Surveys Northview High School Results Report Fall 2012.
Notes Over Circles Parts of a Circle Circumference Radius
 Electronic Media and Film Degree Requirements catalog College of Social and Behavioral Sciences Presented by The Electronic Media and Film.
E ddy Consulting Using Databases to Manage Project, Client, and Employee Information James Walsh.
Sadegh Aliakbary Sharif University of Technology Fall 2010.
OBJECT ORIENTED PROGRAMMING CONCEPTS ISC 560. Object-oriented Concepts  Objects – things names with nouns  Classes – classifications (groups) of similar.
Exercise Normalization Exercise Faculty Member. Social Security Number Name Last Name First Name Middle Name Home Address Street Address or P. O. Box.
1 CSE 480: Database Systems Lecture 4: Enhanced Entity-Relationship Modeling Reference: Read Chapter 8.1 – 8.5 of the textbook.
Programming in Java (COP 2250) Lecture 1 Chengyong Yang Fall, 2005.
Computer Programming I and II Learn C# Write programs for Xbox.
A Redesign of Intermediate Algebra using the Hawkes Learning System Dr. Latonya Garner March 29, 2010 Mississippi Valley State University Department of.
Retention at Baylor University  Baylor 2012: Imperative I Establish an environment where learning can flourish Create an Academic Success Center to improve.
Peyman Dodangeh Sharif University of Technology Fall 2014.
Student Advisory Board University of Hawaii at Manoa College of Engineering Department of Electrical Engineering October 17, 2003.
Java Programming Dr. Randy Kaplan. Abstract Classes and Methods.
Class Relationships A class defines a type of data Composition allows an object of another class to define an attribute of a class –Employee “has a”
 Pearson Education, Inc. All rights reserved Object-Oriented Programming: Polymorphism.
Inheritance vs Composition Picking the right tool.
1 Inheritance One of the goals of object oriented programming is code reuse. Inheritance is one mechanism for accomplishing code reuse. It allows us to.
C++ How to Program, 7/e.  There are cases in which it’s useful to define classes from which you never intend to instantiate any objects.  Such classes.
TAKE THE SHOT 2017 Winter High School Floor Hockey League
Take Control of Your Future: Begin Your Career Development Today!
Senior Junior Sophomore Freshman
Survey Design Clinic Fall 2016: Wilson-Short Office 143
Household Good Moves Presented to UIUC Business Managers Group
Use case Diagram.
Business Development Idea: [INSERT IDEA NAME HERE]
Database EER.
SEMCOM COLLEGE LIBRARY INFORMATION SYSTEM
Presentation Exclusively for:.
Object-Oriented Programming: Polymorphism
CSCI 6315 Applied Database Systems – Exercise (1)
Your Career Development Starts Now:
Object-Oriented Programming: Polymorphism
Presentation Exclusively for:.
Lecture 6 – Exercises TCP1201: 2017/2018.
Entity-Relationship Modeling "Extended"
للدخول لأول مرة وتحميل الأوفيس
Educator Accountability:
HRMS Crash Course.
Presentation Exclusively for: Company Name.
Presentation Exclusively for: Company Name.
CSE 1020:Inheritance Mark Shtern.
UNH Housing Where the Wildcats Live!
Presentation Exclusively for: Company Name.
Chapter 7 Polymorphism.
First and last name D E P T O F L First and last name A B R Y M
CS4222 Principles of Database System
Title IX Training Rollout SoE
Highlights, Issues and Concerns:
Saint Mary of the Assumption High School Invites All Freshmen, Sophomores, Juniors and Seniors to the Student Class Officer Interest Meeting When:
What is Zoom? Online meeting tool Webinars See participants via webcam
Presentation Exclusively for: Company Name.
Database EER.
La sociedad honoraria hispánica de Seaholm,
STRIKE PREPARATION TRAINING
Exercise Make a stem-and-leaf diagram for the following set of data: {19, 25, 33, 28, 12, 41, 29, 35, 28, 37}. All slides in this chapter contain: Digital.
Computer Science Graduates are in Demand.
Entity-Relationship Modeling "Extended"
ADVANCED OBJECT-ORIENTED PROGRAMMING
HW1 Business Card Due in class Friday 15 November
CIS 110: Introduction to computer programming
Entity-Relationship Modeling "Extended"
Programming in C# CHAPTER 5 & 6
Registration Info B.A.S.S B.A.S.S (Biology Department Super Sessions)
Employees and project leaders UML Class Diagram and EDG
CSCI 4333 Database Design and Implementation – Exercise (1)
Presentation transcript:

Lecture 4 – Case Study TCP1201: 2017/2018

Case Study – University Community (The Person, Student, Employee, Faculty, and Staff classes) Design a class named Person and its two subclasses named Student and Employee. Make Faculty and Staff subclasses of Employee. A person has a name, address, phone number, and email address. A student has a class status (freshman, sophomore, junior, or senior). Define the status as a constant. An employee has an office and salary. A faculty member has office hours and a rank. A staff member has a title. Override the toString method in each class to display the class name and the person’s name. Draw the UML diagram for the classes and implement them. Write a test program that creates a Person, Student, Employee, Faculty, and Staff, and invokes their toString() methods. (Programming Exercises from textbook: 11.2)