Project Exception

Project Exception : How you handled exceptions in your project? As part of my project we are handling the exception, generally in my project we have handle user defined exception, based on the business requirement we have categorized user defined exception into different types of exception like- A) Business Exception B) System Exception C) Service … Read more

Java Comments

Java Comments : In any java program, we can use comments which can be more helpful to programmer to understand that what exactly is that method or line of code is all about and it will make more easier to next coder to understand meaning of any such line of code. The java comments are … Read more

Variable in Java

Variable in java is nothing but the container that stores the value of data during execution of the program. For example, if you write int abc=100; then here  abc is a variable which is of type int and holding value as 100. Declare variable in java: data_type variable_name = variable_value; Here variable_value is optional, you … Read more

Serialization in Java

Serialization in Java : The process of converting java supported file data to network supported file data is called as “Serialization”.And process of converting network supported file data to Java supported file data is called as “De-serialization”.To achieve serialization your class must implements Serializable interface.If parent class implements Serializable interface then child class doesn’t need … Read more

OOP’s Concept in Java

OOP’s Concept in Java : OOP’s concept stands for Object Oriented Programming concept in java and it is design to make effective, easy to understand and to save developers efforts in terms of coding and time. There are four major pillars of object oriented programming such as Inheritance, Polymorphism, Abstraction and Encapsulation. Contents Inheritance in … Read more