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 |
Can I stream live content/events?
How do u deploy your asp.net application?
List all templates of the repeater control.
which is better arraylist or dictionary?
What is the difference between Hash table and Array list?
What is the behavior of a Web browser when it receives an invalid element?
When would you set a control's AutoPostBack property to true?
What is the Global.asax used for?
what are the ways to improve performance in .net application?
What is the mvc model?
What is the difference between Postback and Ispostback Property?
7 Answers Atrocity Apps Technologies, DC Infotech, HCL, Maples, Visual Soft,
Is a dll file an executable?
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)