SlideShare a Scribd company logo
core java 
W W W . J A V A 2 B L O G . C O M
content
Overview
Where Java used
Class
Object
Simple Java Program
Program execution
Java VS. C++
Overview
Java is an High-level, object oriented and platform
independent programming language. It was developed
by James Gosling.
There are 4 editions of Java
1. JavaSE (Java Standard Edition)
2. JavaEE (Java Enterprise Edition)
3. JavaME (Java Micro Edition)
4. JavaFX
Where Java used
Java is used in many places:
1. Desktop application
2. Web application
3. Enterprise application
4. Mobile application
5. Embedded System
6. Robotics
7. Games
class
a class is a collection of similar type of objects. It is a
logical entity. It is a template which represents
objects.
class
{
     data;
    methods;
}
object
An object is a real time entity that has state and
behavior. It is a physical as well as a logical entity.
For example, Pen is an object which has state (name,
color, size) and behavior (writing).
java program
class Demo
{
      public static void main(String args[])
       {
               System.out.println("Hello");
       }
}
Cont...
class: It is used to declare a class.
public:- It is access specifier. It makes the main
method visible to every where.
static: we don't have a need for any object to invoke
the main method.
void:- It is a return type. It means the main method
doesn't return any value.
String args[]: It is used for command line argument.
program execution
Java source code is converted into byte code by Java
compiler.
Java byte code is converted into machine code.
Compiler
Interpreter
Source
Code
Byte
Code
Byte
Code
Machine
Code
Java Vs. C++
The main difference between Java and C++ is that Java
is platform independent language and C++ is platform
dependent language.
Java doesn't support multiple inheritance, operator
overloading, Explicit pointers, Structures, Union
whereas C++ supports all these features.
thank you
W W W . J A V A 2 B L O G . C O M

More Related Content

PPTX
Java features
PPSX
Java & advanced java
PPT
Introduction to Java Programming, Basic Structure, variables Data type, input...
PPT
Java basics
DOCX
Introduction to java
PPT
PPTX
Presentation on Core java
PDF
Java Presentation For Syntax
Java features
Java & advanced java
Introduction to Java Programming, Basic Structure, variables Data type, input...
Java basics
Introduction to java
Presentation on Core java
Java Presentation For Syntax

What's hot (20)

PPTX
Java training in delhi
PPTX
Java programming course for beginners
PPTX
1 java programming- introduction
PDF
Java basics notes
PDF
Core Java Tutorial
PDF
Core java course syllabus
PPTX
core java
PPTX
Core java online training
PPT
Java Presentation
PPSX
Introduction to java
PDF
Core Java
PPT
Introduction to java
PPT
00 intro to java
PPT
1 Introduction To Java Technology
PDF
Introduction to Java Programming
PPTX
Introduction to java
PPT
Fundamentals of JAVA
PPT
Java introduction
PPTX
Core Java
Java training in delhi
Java programming course for beginners
1 java programming- introduction
Java basics notes
Core Java Tutorial
Core java course syllabus
core java
Core java online training
Java Presentation
Introduction to java
Core Java
Introduction to java
00 intro to java
1 Introduction To Java Technology
Introduction to Java Programming
Introduction to java
Fundamentals of JAVA
Java introduction
Core Java
Ad

Similar to Core Java Tutorial (20)

PPTX
Unit1 introduction to Java
PDF
Java programming material for beginners by Nithin, VVCE, Mysuru
PPTX
Introduction to java
PDF
OOPS JAVA.pdf
PPTX
Java basic
PPTX
Java Technologies notes of unit 1 and 2.
PPTX
Introduction to java
PPTX
DAY_1.1.pptx
PPTX
brief introduction to core java programming.pptx
PDF
Java Simplified: Understanding Programming Basics
PPTX
JAVA introduction and basic understanding.pptx
PDF
Java basic concept
PPTX
java slides
PPTX
Introduction to java
PDF
java notes.pdf
PPTX
Java-1st.pptx about Java technology before oops
PPTX
Java programing language unit 1 introduction
PPTX
Chapter One Basics ofJava Programmming.pptx
Unit1 introduction to Java
Java programming material for beginners by Nithin, VVCE, Mysuru
Introduction to java
OOPS JAVA.pdf
Java basic
Java Technologies notes of unit 1 and 2.
Introduction to java
DAY_1.1.pptx
brief introduction to core java programming.pptx
Java Simplified: Understanding Programming Basics
JAVA introduction and basic understanding.pptx
Java basic concept
java slides
Introduction to java
java notes.pdf
Java-1st.pptx about Java technology before oops
Java programing language unit 1 introduction
Chapter One Basics ofJava Programmming.pptx
Ad

More from Java2Blog (7)

PDF
Java interview questions
PDF
Java String
PDF
Exception Handling in Java
PDF
Polymorphism in Java
PDF
Spring Tutorial for Beginners
PDF
Web Service Tutorial
PDF
How to Learn Java Programming
Java interview questions
Java String
Exception Handling in Java
Polymorphism in Java
Spring Tutorial for Beginners
Web Service Tutorial
How to Learn Java Programming

Recently uploaded (20)

PPTX
GDM (1) (1).pptx small presentation for students
PPTX
Lesson notes of climatology university.
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Anesthesia in Laparoscopic Surgery in India
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PDF
Pre independence Education in Inndia.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
Institutional Correction lecture only . . .
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
master seminar digital applications in india
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Pharma ospi slides which help in ospi learning
GDM (1) (1).pptx small presentation for students
Lesson notes of climatology university.
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
Cell Types and Its function , kingdom of life
Anesthesia in Laparoscopic Surgery in India
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
O5-L3 Freight Transport Ops (International) V1.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Cell Structure & Organelles in detailed.
Pre independence Education in Inndia.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Microbial diseases, their pathogenesis and prophylaxis
Institutional Correction lecture only . . .
Final Presentation General Medicine 03-08-2024.pptx
VCE English Exam - Section C Student Revision Booklet
master seminar digital applications in india
O7-L3 Supply Chain Operations - ICLT Program
Renaissance Architecture: A Journey from Faith to Humanism
Pharma ospi slides which help in ospi learning

Core Java Tutorial

  • 1. core java  W W W . J A V A 2 B L O G . C O M
  • 2. content Overview Where Java used Class Object Simple Java Program Program execution Java VS. C++
  • 3. Overview Java is an High-level, object oriented and platform independent programming language. It was developed by James Gosling. There are 4 editions of Java 1. JavaSE (Java Standard Edition) 2. JavaEE (Java Enterprise Edition) 3. JavaME (Java Micro Edition) 4. JavaFX
  • 4. Where Java used Java is used in many places: 1. Desktop application 2. Web application 3. Enterprise application 4. Mobile application 5. Embedded System 6. Robotics 7. Games
  • 5. class a class is a collection of similar type of objects. It is a logical entity. It is a template which represents objects. class {      data;     methods; }
  • 6. object An object is a real time entity that has state and behavior. It is a physical as well as a logical entity. For example, Pen is an object which has state (name, color, size) and behavior (writing).
  • 7. java program class Demo {       public static void main(String args[])        {                System.out.println("Hello");        } }
  • 8. Cont... class: It is used to declare a class. public:- It is access specifier. It makes the main method visible to every where. static: we don't have a need for any object to invoke the main method. void:- It is a return type. It means the main method doesn't return any value. String args[]: It is used for command line argument.
  • 9. program execution Java source code is converted into byte code by Java compiler. Java byte code is converted into machine code. Compiler Interpreter Source Code Byte Code Byte Code Machine Code
  • 10. Java Vs. C++ The main difference between Java and C++ is that Java is platform independent language and C++ is platform dependent language. Java doesn't support multiple inheritance, operator overloading, Explicit pointers, Structures, Union whereas C++ supports all these features.
  • 11. thank you W W W . J A V A 2 B L O G . C O M