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 difference between or and orelse?
What data type does the RangeValidator control support?
What is advantage and disadvantage of viewstate
What are the differnt types of handler in ASP.NET?
0 Answers Sans Pareil IT Services,
What does the "EnableViewState" property do? Why would I want it on or off?
what is difference between .net 3.0 and 3.5
What is the main function of razor in asp.net? : asp.net mvc
What is autopostback in asp net?
What are the namespaces used in asp.net mvc? : asp.net mvc
How can we inherit a static variable?
What is session state server?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
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)