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

Introduction to Java

Introduction to Java : JAVA is a programming language which is developed by Sun Microsystems ( James Gosling and Patrick Naughton ) as a computing platform and later it is owned by Oracle corporation.JAVA is a simple programming language as it is easy to writing, compiling and debugging the code. It reduces efforts, time and … 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

Servlet in Java

Servlet in Java : Servlet is a server side technology used to work internally on client request and provide the support to the dynamic pages to show response on screen. What are the Common tasks performed by servlet container?Create and maintaining life cycle of an object.Provide JSP support over client request.Multithreading support.Take care of memory … Read more

JSP

JSP stands for Java Sever Page. Java Server Page used to create pages which can be visible o the end user while using the web application. Example: Java Server Page is extension of servlet technology to help developer to create dynamic pages with HTML like syntax.We can create user interface/view in servlet also but the … Read more

Multithreading in Java

Multithreading in Java : Before we go to Multithreading, we must understand what is Process and Thread. Process:Process is nothing but an application running/performing on a device.For Example: If you are using PC or Laptop then Microsoft Word, Web Browser, Music Player, etc applications are called as Process.Each process occupies own memory space.Process are heavy … 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. Inheritance in Java … Read more