SlideShare a Scribd company logo
Core Java
www.scodenetwork.com
introduction
What is java?
Java is a general-purpose, class-based, object-oriented programming language designed for having

lesser implementation dependencies. It is a computing platform for application development.
Java is fast, secure, and reliable, therefore. It is widely used for developing Java applications in

laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.
What is Java Platform?
Java Platform is a collection of programs that help programmers to develop and

run Java programming applications efficiently. It includes an execution engine, a

compiler, and a set of libraries in it. It is a set of computer software and
specifications. James Gosling developed the Java platform at Sun Microsystems,

and the Oracle Corporation later acquired it.
What is Java used for?
Here are some important Java applications:


It is used for developing Android Apps
Helps you to create Enterprise Software
Wide range of Mobile Java Applications
Scientific Computing Applications
Use for Big Data Analytics
Java Programming of Hardware devices
Used for Server-Side Technologies like Apache, JBoss, GlassFish, etc.
History of Java Programming Language
Here are important landmarks from the history of the Java language:
The Java language was initially called OAK.
Originally, it was developed for handling portable devices and set-top

boxes. Oak was a massive failure.
In 1995, Sun changed the name to “Java” and modified the language to

take advantage of the burgeoning www (World Wide Web) development

business.
Later, in 2009, Oracle Corporation acquired Sun Microsystems and took

ownership of three key Sun software assets: Java, MySQL, and Solaris.
It is one of the easy-to-use programming languages to learn.
Write code once and run it on almost any computing platform.
Java is platform-independent. Some programs developed in one

machine can be executed in another machine.
It is designed for building object-oriented applications.
It is a multithreaded language with automatic memory management.
It is created for the distributed environment of the Internet.
Facilitates distributed computing as its network-centric.
Java Features
Here are some important Java features:
JDK is a software development environment used for making applets and

Java applications. The full form of JDK is Java Development Kit. Java

developers can use it on Windows, macOS, Solaris, and Linux. JDK helps

them to code and run Java programs. It is possible to install more than one

JDK version on the same computer.
Java Development kit (JDK)
Java Virtual Machine (JVM)
Java Virtual Machine (JVM) is an engine that provides a runtime environment to drive

the Java Code or applications. It converts Java bytecode into machine language. JVM

is a part of the Java Run Environment (JRE). In other programming languages, the

compiler produces machine code for a particular system. However, the Java

compiler produces code for a Virtual Machine known as Java Virtual Machine.
Java Runtime Environment (JRE)
JRE is a piece of software that is designed to run other software. It

contains the class libraries, loader class, and JVM. In simple terms, if you

want to run a Java program, you need JRE. If you are not a programmer,

you don’t need to install JDK, but just JRE to run Java programs.
JRE contains class libraries, JVM, and other supporting files. It does not

include any tool for Java development like a debugger, compiler, etc.
It uses important package classes like math, swing, util, lang, awt, and

runtime libraries.
If you have to run Java applets, then JRE must be installed in your system.
Here are the main reasons of using JRE:
Why use JRE?
There are four different types of Java programing language platforms:
1. Java Platform, Standard Edition (Java SE): Java SE’s API offers the Java programming language’s core functionality.

It defines all the basis of type and object to high-level classes. It is used for networking, security, database access,

graphical user interface (GUI) development, and XML parsing.
2. Java Platform, Enterprise Edition (Java EE): The Java EE platform offers an API and runtime environment for

developing and running highly scalable, large-scale, multi-tiered, reliable, and secure network applications.
3. Java Programming Language Platform, Micro Edition (Java ME): The Java ME platform offers an API and a small-

footprint virtual machine running Java programming language applications on small devices, like mobile phones.
4. Java FX: JavaFX is a platform for developing rich internet applications using a lightweight user-interface API. It user

hardware-accelerated graphics and media engines that help Java take advantage of higher-performance clients and

a modern look-and-feel and high-level APIs for connecting to networked data sources.
Different Types of Java Platforms
Like the C compiler, the Java compiler does not produce native executable code for a

particular machine. Instead, Java produces a unique format called bytecode. It executes

according to the rules laid out in the virtual machine specification. Therefore, Java is a

platform-independent language.
Bytecode is understandable to any JVM installed on any OS. In short, the java source code

can run on all operating systems.
How is Java Platform Independent?
In computing, a compiler is a computer program that translates computer code

written in one programming language into another language.
The name "compiler" is primarily used for programs that translate source code

from a high-level programming language to a lower-level language to create an

executable program.
what is compiler?
www.scodenetwork.com
Add:- parsvnath kaushambi mall, near kaushambi metro

station, ghaziabad
mob no: 9990211148,9990211149

More Related Content

PDF
TechSearchWeb Tutorials.pdf
PDF
Java Basic.pdf
PDF
Technology Tutorial.pdf
PDF
TechSearchWeb.pdf
PDF
What is java
PPTX
Introduction to Java in cs engineering .pptx
PDF
Java course in Chandigarh.pdf
PDF
What is-java
TechSearchWeb Tutorials.pdf
Java Basic.pdf
Technology Tutorial.pdf
TechSearchWeb.pdf
What is java
Introduction to Java in cs engineering .pptx
Java course in Chandigarh.pdf
What is-java

Similar to Core Java-1 (1).pdf (20)

PDF
Learn Java Part 1
PDF
Java ppt1
PPT
PPS Java Overview Unit I.ppt
PPT
PPS Java Overview Unit I.ppt
PPTX
The Java Story
PDF
What is Java | Learn Java | Types of Java
PPSX
JAVA.ppsx java code java edv java development
PPTX
What is Java | Learn Java | Types of Java
PPTX
Java ms harsha
PPTX
Chapter 1 java
PPTX
Java (1)
PPTX
Introduction to java
PPTX
Unit1 JAVA.pptx
PPTX
Object Oriented Programming Part 1 of Unit 1
PPTX
JAVAPart1_BasicIntroduction.pptx
PPTX
JAVA_Day1_BasicIntroduction.pptx
PPTX
Chapter-1 Introduction.pptx
PPT
01_What is Java.ppt
PDF
Java Training in Chandigarh
PDF
Java Training in Chandigarh.pdf
Learn Java Part 1
Java ppt1
PPS Java Overview Unit I.ppt
PPS Java Overview Unit I.ppt
The Java Story
What is Java | Learn Java | Types of Java
JAVA.ppsx java code java edv java development
What is Java | Learn Java | Types of Java
Java ms harsha
Chapter 1 java
Java (1)
Introduction to java
Unit1 JAVA.pptx
Object Oriented Programming Part 1 of Unit 1
JAVAPart1_BasicIntroduction.pptx
JAVA_Day1_BasicIntroduction.pptx
Chapter-1 Introduction.pptx
01_What is Java.ppt
Java Training in Chandigarh
Java Training in Chandigarh.pdf
Ad

Recently uploaded (20)

PDF
Perfecting Gamer’s Experiences with Performance Testing for Gaming Applicatio...
PDF
Best Mobile App Development Company in Lucknow - Code Crafter Web Solutions
PPTX
Benefits of DCCM for Genesys Contact Center
PPTX
How a Careem Clone App Allows You to Compete with Large Mobility Brands
PDF
Rise With SAP partner in Mumbai.........
PPTX
Using Bootstrap to Make Accessible Front-Ends(2).pptx
PPTX
AIRLINE PRICE API | FLIGHT API COST |
PDF
The Future of Smart Factories Why Embedded Analytics Leads the Way
PDF
Best Practices for Rolling Out Competency Management Software.pdf
PPTX
Computer Hardware tool: hand tools, diagnostics, ESD and cleaning tools
PDF
Comprehensive Salesforce Implementation Services.pdf
PDF
Emergency Mustering solutions – A Brief overview
PDF
How to Seamlessly Integrate Salesforce Data Cloud with Marketing Cloud.pdf
PDF
Multi-factor Authentication (MFA) requirement for Microsoft 365 Admin Center_...
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PDF
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
PPTX
Save Business Costs with CRM Software for Insurance Agents
PDF
A REACT POMODORO TIMER WEB APPLICATION.pdf
DOCX
The Five Best AI Cover Tools in 2025.docx
Perfecting Gamer’s Experiences with Performance Testing for Gaming Applicatio...
Best Mobile App Development Company in Lucknow - Code Crafter Web Solutions
Benefits of DCCM for Genesys Contact Center
How a Careem Clone App Allows You to Compete with Large Mobility Brands
Rise With SAP partner in Mumbai.........
Using Bootstrap to Make Accessible Front-Ends(2).pptx
AIRLINE PRICE API | FLIGHT API COST |
The Future of Smart Factories Why Embedded Analytics Leads the Way
Best Practices for Rolling Out Competency Management Software.pdf
Computer Hardware tool: hand tools, diagnostics, ESD and cleaning tools
Comprehensive Salesforce Implementation Services.pdf
Emergency Mustering solutions – A Brief overview
How to Seamlessly Integrate Salesforce Data Cloud with Marketing Cloud.pdf
Multi-factor Authentication (MFA) requirement for Microsoft 365 Admin Center_...
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Materi-Enum-and-Record-Data-Type (1).pptx
Microsoft Teams Essentials; The pricing and the versions_PDF.pdf
Save Business Costs with CRM Software for Insurance Agents
A REACT POMODORO TIMER WEB APPLICATION.pdf
The Five Best AI Cover Tools in 2025.docx
Ad

Core Java-1 (1).pdf

  • 2. What is java? Java is a general-purpose, class-based, object-oriented programming language designed for having lesser implementation dependencies. It is a computing platform for application development. Java is fast, secure, and reliable, therefore. It is widely used for developing Java applications in laptops, data centers, game consoles, scientific supercomputers, cell phones, etc.
  • 3. What is Java Platform? Java Platform is a collection of programs that help programmers to develop and run Java programming applications efficiently. It includes an execution engine, a compiler, and a set of libraries in it. It is a set of computer software and specifications. James Gosling developed the Java platform at Sun Microsystems, and the Oracle Corporation later acquired it.
  • 4. What is Java used for? Here are some important Java applications: It is used for developing Android Apps Helps you to create Enterprise Software Wide range of Mobile Java Applications Scientific Computing Applications Use for Big Data Analytics Java Programming of Hardware devices Used for Server-Side Technologies like Apache, JBoss, GlassFish, etc.
  • 5. History of Java Programming Language Here are important landmarks from the history of the Java language: The Java language was initially called OAK. Originally, it was developed for handling portable devices and set-top boxes. Oak was a massive failure. In 1995, Sun changed the name to “Java” and modified the language to take advantage of the burgeoning www (World Wide Web) development business. Later, in 2009, Oracle Corporation acquired Sun Microsystems and took ownership of three key Sun software assets: Java, MySQL, and Solaris.
  • 6. It is one of the easy-to-use programming languages to learn. Write code once and run it on almost any computing platform. Java is platform-independent. Some programs developed in one machine can be executed in another machine. It is designed for building object-oriented applications. It is a multithreaded language with automatic memory management. It is created for the distributed environment of the Internet. Facilitates distributed computing as its network-centric. Java Features Here are some important Java features:
  • 7. JDK is a software development environment used for making applets and Java applications. The full form of JDK is Java Development Kit. Java developers can use it on Windows, macOS, Solaris, and Linux. JDK helps them to code and run Java programs. It is possible to install more than one JDK version on the same computer. Java Development kit (JDK)
  • 8. Java Virtual Machine (JVM) Java Virtual Machine (JVM) is an engine that provides a runtime environment to drive the Java Code or applications. It converts Java bytecode into machine language. JVM is a part of the Java Run Environment (JRE). In other programming languages, the compiler produces machine code for a particular system. However, the Java compiler produces code for a Virtual Machine known as Java Virtual Machine.
  • 9. Java Runtime Environment (JRE) JRE is a piece of software that is designed to run other software. It contains the class libraries, loader class, and JVM. In simple terms, if you want to run a Java program, you need JRE. If you are not a programmer, you don’t need to install JDK, but just JRE to run Java programs.
  • 10. JRE contains class libraries, JVM, and other supporting files. It does not include any tool for Java development like a debugger, compiler, etc. It uses important package classes like math, swing, util, lang, awt, and runtime libraries. If you have to run Java applets, then JRE must be installed in your system. Here are the main reasons of using JRE: Why use JRE?
  • 11. There are four different types of Java programing language platforms: 1. Java Platform, Standard Edition (Java SE): Java SE’s API offers the Java programming language’s core functionality. It defines all the basis of type and object to high-level classes. It is used for networking, security, database access, graphical user interface (GUI) development, and XML parsing. 2. Java Platform, Enterprise Edition (Java EE): The Java EE platform offers an API and runtime environment for developing and running highly scalable, large-scale, multi-tiered, reliable, and secure network applications. 3. Java Programming Language Platform, Micro Edition (Java ME): The Java ME platform offers an API and a small- footprint virtual machine running Java programming language applications on small devices, like mobile phones. 4. Java FX: JavaFX is a platform for developing rich internet applications using a lightweight user-interface API. It user hardware-accelerated graphics and media engines that help Java take advantage of higher-performance clients and a modern look-and-feel and high-level APIs for connecting to networked data sources. Different Types of Java Platforms
  • 12. Like the C compiler, the Java compiler does not produce native executable code for a particular machine. Instead, Java produces a unique format called bytecode. It executes according to the rules laid out in the virtual machine specification. Therefore, Java is a platform-independent language. Bytecode is understandable to any JVM installed on any OS. In short, the java source code can run on all operating systems. How is Java Platform Independent?
  • 13. In computing, a compiler is a computer program that translates computer code written in one programming language into another language. The name "compiler" is primarily used for programs that translate source code from a high-level programming language to a lower-level language to create an executable program. what is compiler?
  • 14. www.scodenetwork.com Add:- parsvnath kaushambi mall, near kaushambi metro station, ghaziabad mob no: 9990211148,9990211149