Give real time examples for polymorphism, encapsulation,
inheritance..
Answer Posted / 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 |
Post New Answer View All Answers
Why session is used in asp.net?
What is gridview in asp.net?
Is redux flux?
Define what is razor? : asp.net mvc
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
What is session in http request?
What is a postback ispostback and autopostback in asp net?
Why cyclomatic complexity is important?
What is the purpose of asp.net?
What are the event handlers that we can have in global.asax file?
Define reflection in .net?
How is a session stored and maintained in asp.net?
What are the different types of Caching techniques in ASP.NET?
Define cookie.
Differentiate between structure and class.