Computer Science, asked by rishabhn195, 9 months ago

write any two attributes and method of class telephone​

Answers

Answered by nimsunset
1

Answer:

Employee class can have following attributes:

1. position

2. salary

3. join date

4. department

Teacher class can have following attributes:

1. subject name

2. class hours

Telephone class can have following attributes:

1. number

2. name

School class can have following attributes:

1. school address

2. school phone

Answered by KHUSBOkhushi
1

Answer:

hope it helps you ✌️✌️

Attachments:
Similar questions