Give real time examples for polymorphism, encapsulation,
inheritance..
Answers were Sorted based on User's Feedback
Answer / priya pawar
for example a simple project done for inventory control in a
medical shop
inheritance-The properties of one class is derived by
another class
the class which derives the property is called derived class.
The class from which the properties are derived are called
Base class.
ex.The child who derives some behaviors from the parent
ex color,character from parent
polymorphisms-The ability to take more than one forms.
ex.The sum() function can be used to do the following
1.Adds two numbers when integers are passed as parameters
2.Concatenates two strings when strings are passed as
parameters.
| Is This Answer Correct ? | 46 Yes | 11 No |
Answer / harsh mitha(666)
e.g poly:-making a food;
e.g encapsulation:- A drug(capsule);
e.g inheritance:- son. or you
| Is This Answer Correct ? | 10 Yes | 2 No |
Explain the benefits of viewstate?
What is the difference between client-side and server-side validations in webpages?
What a diffgram is, and a good use for one?
How connect data into DropDownList from Aceess Table?
How do you register JavaScript for webcontrols ?
What is asp.net response object?
what is DLL Hell and how it is solved in .NET? please explain clearly??
What websites use asp.net?
Explain what is postback in asp. Net?
What does AspCompat="true" mean and when should I use it?
Explain the difference between singleton and single call?
How to manage pagination in a page?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)