Jobs keyword-wise

What is encapsulation?

<<Previous   Next>>

VB.NET - encapsulation - Dec 29, 2009 at 15:33 PM by Nishant Kumar

What is encapsulation?  

It is the fundamental principles of object-oriented programming. It hides all the internal details of an object from the outside world. It hides its data and methods from outside the world and only expose data and methods that are required. It provides us maintainability, flexibility and extensibility to our code. It makes the fields in a class private and providing access to the fields using public methods Encapsulation allows us to create a "black box" and protects an objects internal state from corruption by its clients. 

<<Previous   Next>>
Explain the steps to attach a debugger to a service application.

Steps to attach a debugger to the application: a. Start the service needed to be debugged. b. In Visual Studio IDE, select Debug menu and click on Processes...............

Difference between System exceptions and Application exceptions.

SystemExceptions are thrown by the CLR and are of more generic nature, whereas, ApplicationExceptions are thrown by Applications..................

Explain how managed code slower than unmanaged code.

Managed code not always is slower than unmanaged code. In managed code, the CLR does some optimization for the way loops..................
 

Write your comment - Share Knowledge and Experience


 

 
Latest placement tests
Latest links
 
 
Home | Want a Job? Submit Key Skills | Employer login | My key skills | About us | Sitemap | Contact us