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 |
What are uri parameters?
What is the difference between Server.Transfer and Response.Redirect? Why would I choose one over the other?
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?
What is application and session in asp.net?
Explain what a diffgram is, and a good use for one?
What is the difference between Server.Transfer and Response.Redirect? Why would you choose one over the other?
what are the levels of securities need to be considered for the finincial web application?
what is loosely coupled solution? How it can be used?
What are different methods of session maintenance in asp.net?
What is the difference between appsetting and connectionstring tags in web.config file
What is full trust in asp.net?
Name some asp objects?