0% found this document useful (0 votes)
104 views

Oop Lab Assignment PDF

This document contains an OOP assignment submitted by Hurara Akram to Umer Zia on May 8, 2019. It includes a class called Person with string and integer attributes like name, rating, and feedback, along with getter and setter methods. It also contains a flow diagram showing a package called testimonials that has a Person class with attributes and getter/setter functions, as well as a main Testimonials class to create Person objects and set their values.

Uploaded by

Hurara Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
104 views

Oop Lab Assignment PDF

This document contains an OOP assignment submitted by Hurara Akram to Umer Zia on May 8, 2019. It includes a class called Person with string and integer attributes like name, rating, and feedback, along with getter and setter methods. It also contains a flow diagram showing a package called testimonials that has a Person class with attributes and getter/setter functions, as well as a main Testimonials class to create Person objects and set their values.

Uploaded by

Hurara Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

COMSATS UNIVERSITY OF ISLAMABAD,

ATTOCK CAMPUS

OOP ASSIGNMENT

Submitted By:
HURARA AKRAM
Registration no:
FA18-BCS-007
Submitted To:
Umer Zia
Date:
08-05-2019

Department of computer science


COMSATS UNIVERSITY OF ISLAMABD,ATTOCK CAMPUS
Package
testimonials

Class person

Attributes:
Int ask,rating

String feedback,name.

Functions:
introMsg

getAsk,setAsk

getName,setName

getRating,setRating

getfeedback,setfeedback

Flow Diagram of Class

Package : testimonials

class : Person
 Attributes: String ask, int rating, String aboutUs, String feedback, name;
(also contains getter and setter functions. )

Main Class: Testimonials (contains the object of person class and we get the
input from customer and set the value )

You might also like