Have a Question?

If you have any question you can ask below or enter what you are looking for!

Tag: Core java

Explain Default exception handling in Java?

Explain Default exception handling in Java? Inside a method, if any exception occurs the method in which it is raised is responsible to create exception object by including the following information. Name of exception Description of exception Location at which exception occurs(Stack trace). After creating exception object method handover that . . . Read more

What is Encapsulation?

What is Encapsulation? The process of binding data and corresponding method into a single unit is nothing but encapsulation.  If any component follows Data Hiding and Abstraction such type of component is said to be encapsulated component. Encapsulation = Data hiding + Abstraction. Encapsulation is a principle of wrapping data . . . Read more