Skip to content

Commit

Permalink
mrk35
Browse files Browse the repository at this point in the history
  • Loading branch information
albinsabu2023 committed Nov 4, 2024
1 parent c9bfd84 commit 14653ed
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions quest7/Question.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@

Create a class Person with following attributes as private variables

[X] firstName - String
[X] lastName - String
[X] age - int
[X] gender -char
[-] firstName - String
[-] lastName - String
[-] age - int
[-] gender -char

- create getters and setters for all atributes
- create a parameterized coustructor in given order

### task 2

Create a class Student that inherit Person class with following attributes as private variables

[X] rollNo - int
[X] course -String
[X] semester - int
[X] Gpa - double
[-] rollNo - int
[-] course -String
[-] semester - int
[-] Gpa - double

- create getters and setters for all atributes
- create a parameterized constructor for all these variables in given order
Expand All @@ -27,10 +26,10 @@ Create a class Student that inherit Person class with following attributes as pr

Create a class Faculty with following attributes as private variables

[x] employeeId -int
[x] department -String
[x] designation - String
[x] salary - double
[-] employeeId -int
[-] department -String
[-] designation - String
[-] salary - double

- create getters ,setters,parameterized counstructior for all attributes

Expand Down

0 comments on commit 14653ed

Please sign in to comment.