TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Anil Singh
NA
3
2.8k
c# programming question
Sep 19 2020 4:18 AM
can anyone give solution to this problem ?
Create an interface called Payable. The Payable interface should contain three functions:
Retrieve amount due
Add to amount due
Payment address
Derive an Employee class from the Person class. The Employee class should add the following properties:
Salary
Mailing address
In addition, the Employee class should implement the Payable interface. The implementation of the functions specified in the Payable interface should make sense. In other words, the payment address should be the mailing address of the employee. In order to make this work right, you will need to allocate an internally protected state variable that keeps track of the amount of money due. This state variable will obviously be modified by the functions defined in the interface
Reply
Answers (
3
)
How to design Devexpress's Xtrareports to print multiple pages?
hexToUTF16 international letters (C# WPF)