Give real time examples for polymorphism, encapsulation,
Answers were Sorted based on User's Feedback
Answer / priya pawar
for example a simple project done for inventory control in a
inheritance-The properties of one class is derived by
the class which derives the property is called derived class.
The class from which the properties are derived are called
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
|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 ?||9 Yes||2 No|
When you are running a component within ASP.NET, what process is it running within on Windows XP? Windows 2000? Windows 2003?
Describe the difference between inline and code behind - which is best in a loosely coupled solution Tightly coupled - INLINE
How to deploy the Asp.Net Project ?
When during the page processing cycle is ViewState available?
What is role-based security?
What is the Impprsonation?and what is the importence of that?
Difference between HTML control and Web Server Control?
Can we throw exception from catch Block?
What is strong-typing versus weak-typing? Which is preferred? Why?
what are the oops concepts are used in your project?
What is the difference between session state and session variables ?
how can we maintain security in soted procedure?