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
Ritendra Mall
NA
316
33.7k
What will be the output for the following program
Mar 10 2020 12:27 AM
public class Calculator
{
public int Sum(int x, int y)
{
return x + y;
}
}
public class Client1
{
public void Operation()
{
int a = 4;
int b = 5;
//Find Sum of a and b and formula of sum will be x+y for client1
}
}
public class Client2
{
public void Operation()
{
int a = 4;
int b = 5;
//Find Sum of a and b and formula of sum will be 3x+4y+7 for client2
}
}
Can anyone tell me how i can acheive this in c# ?
Thank you
Reply
Answers (
3
)
What is overloading, polymorphism,overriding?
How to create bio metric data capture and Identity card?