SlideShare a Scribd company logo
A PRESENTATION ON
“CORE JAVA”
SUBMITTED BY:- SUDHANSHU
VIJAY
SECTION:- C
CS DEPARTMENT
SUBMITTED TO:- DR.RAKHI
MUTHA
AND
MR. ASHU
SHARMA
CONTENTS
 What is Java?
 Where is Java used?
 Features of java.
 Java programme translation?
 Java Virtual Machine(JVM)
 What is OOP?
 Concept of OOP.
 Java system overview.
 Java Programme – Development Phases.
 Data types in Java.
 Garbage Collection
 Advantages of java
 Disadvantages of java.
WHAT IS JAVA?
Java is Object Oriented Programming language as well
as Platform.
Java was developed by a team led by James Gosling at
Sum Microsystems.
Java is the first programming language which provide
the concept of writing programmes that can be
executed using web.
WHERE IS JAVA USED?
According to sun there are more than 3 billion devices
that runs on java.
There are many devices where java is currently used.
Desktop Applications - Acrobat reader, Media player,
Antiviruses etc.
Web Applications - irctc.co.in , javatpoint.com etc.
Enterprise Application – Banking Application, Business
Application.
Mobile
Embedded Systems
Games
Robotics
FEATURES OF JAVA
Java is Simple.
Java is Object Oriented
Java is Distributed
Java is Architecture Neutral
Java is Robust
Java is Interpreted and Compiled
Java is Secure
Java is Portable
Java is Multi-Threaded
JAVA PROGRAM TRANSLATION
Hello.java Javac Hello.class
Interpreter for
windows
Interpreter for
Mac
Interpreter for
UNIX
Source
Programme.
Java compiler Java
Bytecode
(80 %
machine
code & 20%
source code)
JAVA VIRTUAL MACHINE
Java virtual machine is the like usual computer which
translate high level language into machine language.
Just like that Java virtual machine also translate
Bytecode into machine language.
JVM are available for many hardware and software
Platform.
WHAT IS OOP?
Object-oriented programming is a method of
implementation.
 A language in which everything represent in the form
of Object is called Object Oriented Programming
Language.
It not only makes the program less complex but also
makes the software reuse feasible and possible.
Java is not truly Object Oriented Programing Language.
CONCEPTS OF OOP?
 Object
 Class
 Encapsulation
 Inheritance
 Polymorphism
 Abstraction
CLASS
Class:-
A class is a template (pre defined structural blueprint) from which objects
are made.
A class is a collection of fields (data) and methods (procedure or function)
that operate on that data. And “class” keyword is used to create any class.
Object:-
Object is an instance of class.
JAVA PROGRAMME DEVLOPMENT
PHASES
DATATYPES IN JAVA
GARBAGE COLLECTION
Garbage collection is the mechanism that De- allocate
the memory of an object when it is no longer
referenced by a variable.
In C++, the memory of an Object is released by use of
delete operator.
Java virtual machine determines when to free up the
memory of an object.
ADVANTAGES OF JAVA
Java is simple language.
Java does not support POINTERS.
Java is first language in which programs can be
executed using WEB.
Write Once Run Anywhere (WORA).
DISADVANTAGES OF JAVA
Slow Performance.
No support for Low level programming.
Poor features in Java.
No control over Garbage Collection.
THANK YOU !
QUERIES?

More Related Content

What's hot

Industrial Training report on java
Industrial  Training report on javaIndustrial  Training report on java
Industrial Training report on java
Softvision Info Solutions Private Limited
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
Saba Ameer
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
RubaNagarajan
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
ParminderKundu
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Java Lover
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Core Java Training report
Core Java Training reportCore Java Training report
Core Java Training report
Sumit Kumar Sharma
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
Sandeep Rawat
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Professional Guru
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
Sujit Majety
 
Basic of Java
Basic of JavaBasic of Java
Basic of Java
Ajeet Kumar Verma
 
Java History
Java HistoryJava History
Java History
Prionto Abdullah
 
Java ppt
Java pptJava ppt
Important features of java
Important features of javaImportant features of java
Important features of java
AL- AMIN
 
JAVA CORE
JAVA COREJAVA CORE
JAVA CORE
Ankit Chauhan
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
Intelligo Technologies
 
Introduction to Java
Introduction to Java Introduction to Java
Introduction to Java
Hitesh-Java
 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
Cognizant
 

What's hot (20)

Industrial Training report on java
Industrial  Training report on javaIndustrial  Training report on java
Industrial Training report on java
 
Introduction to java
Introduction to javaIntroduction to java
Introduction to java
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
 
Java
JavaJava
Java
 
Introduction to JAVA
Introduction to JAVAIntroduction to JAVA
Introduction to JAVA
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Core Java Training report
Core Java Training reportCore Java Training report
Core Java Training report
 
Introduction to java
Introduction to java Introduction to java
Introduction to java
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Core java slides
Core java slidesCore java slides
Core java slides
 
Introduction to java (revised)
Introduction to java (revised)Introduction to java (revised)
Introduction to java (revised)
 
Basic of Java
Basic of JavaBasic of Java
Basic of Java
 
Java History
Java HistoryJava History
Java History
 
Java ppt
Java pptJava ppt
Java ppt
 
Important features of java
Important features of javaImportant features of java
Important features of java
 
JAVA CORE
JAVA COREJAVA CORE
JAVA CORE
 
Java tutorial PPT
Java tutorial PPTJava tutorial PPT
Java tutorial PPT
 
Introduction to Java
Introduction to Java Introduction to Java
Introduction to Java
 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
 

Similar to Summer training presentation on "CORE JAVA".

Core java tutorials
Core java  tutorialsCore java  tutorials
Core java tutorials
TIB Academy
 
java Training in Ranchi
java Training in Ranchijava Training in Ranchi
java Training in Ranchi
sanjaydeo12
 
INTRODUCTION OF JAVA
INTRODUCTION OF JAVAINTRODUCTION OF JAVA
INTRODUCTION OF JAVA
Md.Sumon Sarder
 
Java
JavaJava
Java
seenak
 
Java Programming Basics Infographic.pdf
Java Programming Basics  Infographic.pdfJava Programming Basics  Infographic.pdf
Java Programming Basics Infographic.pdf
cybersuccessseo
 
Java1
Java1Java1
Java
Java Java
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
PawanMM
 
10 interesting things about java
10 interesting things about java10 interesting things about java
10 interesting things about java
kanchanmahajan23
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
Hitesh-Java
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
Mr. Akaash
 
Core Java Slides
Core Java SlidesCore Java Slides
Core Java Slides
Vinit Vyas
 
Java presentation
Java presentationJava presentation
Java presentation
Karan Sareen
 
Presentation on java life of a deveoper.pptx
Presentation on java life of a deveoper.pptxPresentation on java life of a deveoper.pptx
Presentation on java life of a deveoper.pptx
VatsalVora15
 
Learning java from scratch
Learning java from scratchLearning java from scratch
Learning java from scratch
ActonRoy
 
CAR SHOWROOM SYSTEM
CAR SHOWROOM SYSTEMCAR SHOWROOM SYSTEM
CAR SHOWROOM SYSTEM
Abhishek Shakya
 
TechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdfTechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdf
TechSearchWeb
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
TechSearchWeb
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
TechSearchWeb
 

Similar to Summer training presentation on "CORE JAVA". (20)

INTRODUCTION_O1.pptx
INTRODUCTION_O1.pptxINTRODUCTION_O1.pptx
INTRODUCTION_O1.pptx
 
Core java tutorials
Core java  tutorialsCore java  tutorials
Core java tutorials
 
java Training in Ranchi
java Training in Ranchijava Training in Ranchi
java Training in Ranchi
 
INTRODUCTION OF JAVA
INTRODUCTION OF JAVAINTRODUCTION OF JAVA
INTRODUCTION OF JAVA
 
Java
JavaJava
Java
 
Java Programming Basics Infographic.pdf
Java Programming Basics  Infographic.pdfJava Programming Basics  Infographic.pdf
Java Programming Basics Infographic.pdf
 
Java1
Java1Java1
Java1
 
Java
Java Java
Java
 
Session 02 - Elements of Java Language
Session 02 - Elements of Java LanguageSession 02 - Elements of Java Language
Session 02 - Elements of Java Language
 
10 interesting things about java
10 interesting things about java10 interesting things about java
10 interesting things about java
 
Elements of Java Language
Elements of Java Language Elements of Java Language
Elements of Java Language
 
Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...Introduction to Java Programming, Basic Structure, variables Data type, input...
Introduction to Java Programming, Basic Structure, variables Data type, input...
 
Core Java Slides
Core Java SlidesCore Java Slides
Core Java Slides
 
Java presentation
Java presentationJava presentation
Java presentation
 
Presentation on java life of a deveoper.pptx
Presentation on java life of a deveoper.pptxPresentation on java life of a deveoper.pptx
Presentation on java life of a deveoper.pptx
 
Learning java from scratch
Learning java from scratchLearning java from scratch
Learning java from scratch
 
CAR SHOWROOM SYSTEM
CAR SHOWROOM SYSTEMCAR SHOWROOM SYSTEM
CAR SHOWROOM SYSTEM
 
TechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdfTechSearchWeb Tutorials.pdf
TechSearchWeb Tutorials.pdf
 
TechSearchWeb.pdf
TechSearchWeb.pdfTechSearchWeb.pdf
TechSearchWeb.pdf
 
Technology Tutorial.pdf
Technology Tutorial.pdfTechnology Tutorial.pdf
Technology Tutorial.pdf
 

Recently uploaded

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Hivelance Technology
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
XfilesPro
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Visitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.appVisitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.app
NaapbooksPrivateLimi
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
Jelle | Nordend
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
Sharepoint Designs
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
ayushiqss
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Shahin Sheidaei
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
Cyanic lab
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
Globus
 

Recently uploaded (20)

TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
Multiple Your Crypto Portfolio with the Innovative Features of Advanced Crypt...
 
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
How Does XfilesPro Ensure Security While Sharing Documents in Salesforce?
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Visitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.appVisitor Management System in India- Vizman.app
Visitor Management System in India- Vizman.app
 
De mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FMEDe mooiste recreatieve routes ontdekken met RouteYou en FME
De mooiste recreatieve routes ontdekken met RouteYou en FME
 
Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024Explore Modern SharePoint Templates for 2024
Explore Modern SharePoint Templates for 2024
 
Why React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdfWhy React Native as a Strategic Advantage for Startup Innovation.pdf
Why React Native as a Strategic Advantage for Startup Innovation.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 

Summer training presentation on "CORE JAVA".

  • 1. A PRESENTATION ON “CORE JAVA” SUBMITTED BY:- SUDHANSHU VIJAY SECTION:- C CS DEPARTMENT SUBMITTED TO:- DR.RAKHI MUTHA AND MR. ASHU SHARMA
  • 2. CONTENTS  What is Java?  Where is Java used?  Features of java.  Java programme translation?  Java Virtual Machine(JVM)  What is OOP?  Concept of OOP.  Java system overview.  Java Programme – Development Phases.  Data types in Java.  Garbage Collection  Advantages of java  Disadvantages of java.
  • 3. WHAT IS JAVA? Java is Object Oriented Programming language as well as Platform. Java was developed by a team led by James Gosling at Sum Microsystems. Java is the first programming language which provide the concept of writing programmes that can be executed using web.
  • 4. WHERE IS JAVA USED? According to sun there are more than 3 billion devices that runs on java. There are many devices where java is currently used. Desktop Applications - Acrobat reader, Media player, Antiviruses etc. Web Applications - irctc.co.in , javatpoint.com etc. Enterprise Application – Banking Application, Business Application. Mobile Embedded Systems Games Robotics
  • 5. FEATURES OF JAVA Java is Simple. Java is Object Oriented Java is Distributed Java is Architecture Neutral Java is Robust Java is Interpreted and Compiled Java is Secure Java is Portable Java is Multi-Threaded
  • 6. JAVA PROGRAM TRANSLATION Hello.java Javac Hello.class Interpreter for windows Interpreter for Mac Interpreter for UNIX Source Programme. Java compiler Java Bytecode (80 % machine code & 20% source code)
  • 7. JAVA VIRTUAL MACHINE Java virtual machine is the like usual computer which translate high level language into machine language. Just like that Java virtual machine also translate Bytecode into machine language. JVM are available for many hardware and software Platform.
  • 8. WHAT IS OOP? Object-oriented programming is a method of implementation.  A language in which everything represent in the form of Object is called Object Oriented Programming Language. It not only makes the program less complex but also makes the software reuse feasible and possible. Java is not truly Object Oriented Programing Language.
  • 9. CONCEPTS OF OOP?  Object  Class  Encapsulation  Inheritance  Polymorphism  Abstraction
  • 10. CLASS Class:- A class is a template (pre defined structural blueprint) from which objects are made. A class is a collection of fields (data) and methods (procedure or function) that operate on that data. And “class” keyword is used to create any class. Object:- Object is an instance of class.
  • 13. GARBAGE COLLECTION Garbage collection is the mechanism that De- allocate the memory of an object when it is no longer referenced by a variable. In C++, the memory of an Object is released by use of delete operator. Java virtual machine determines when to free up the memory of an object.
  • 14. ADVANTAGES OF JAVA Java is simple language. Java does not support POINTERS. Java is first language in which programs can be executed using WEB. Write Once Run Anywhere (WORA).
  • 15. DISADVANTAGES OF JAVA Slow Performance. No support for Low level programming. Poor features in Java. No control over Garbage Collection.