Java is a high level programming language which is used for creating various types of software's or applications. Types of java applications:- 1) Stand alone application 2) Desktop based application 3) Web based application 4) Enterprise application etc. Stand alone application:- Stand alone application run on single machine without user interface and every stand alone application having main method. Desktop based application:- Desktop based application also run on single machine with user interface and every Desktop based application having main method. Web based application:- Web based application run on web, web based application not required main method but for such types of application need server. Enterprise application:- Enterprise application is category of web application where doing some business or involve some money related issues. Java Editions: - There are four Java platforms. ·
Object:- Object is real time entity exist in the real world , the basic purpose of object is to transfer data from one location to another location.object is small memory , allocated inside primary memory(RAM).in java object created inside heap memory,actually in java RAM memory is divided into some segment according to the type of variables for example. RAM==>Heap area+Stack area+String constant pool+class area etc. when object created then inside object only non static class variables occupied memory and initialize with default values. non static class variables also known as instance variable reside into object in heap area,static variables occupied memory in class area at the time of class loading from HARD disk to RAM and all local variables occupied memory in stack area when reaching to variables. object created from the class then what object contains is depend on class structure or class members. class Animal {