SlideShare a Scribd company logo
By :
Anuj Kumar Raghav
Assistant Professor
www.akraghav.com2020-21
AKR Education
www.akreducation.com
๏‚ž Introduction :
(Overview of Java , Features, OOPS Concept , Installation )
๏‚ž (Data types , Variables , Operators)
๏‚ž Arrays
๏‚ž Strings
๏‚ž Exception Handling
๏‚ž Multithreading
Overview
๏‚ž Java is a programming language originally
developed by Sun Micro System and released in
1995.
๏‚ž Programming Languages:
A vocabulary and set of grammatical rules
(syntax) for instructing a computer to perform
specific tasks.
โ€ข Machine Language
โ€ข Assembly Language
โ€ข High level Language
๏‚ž It is the lowest-level programming language.
๏‚ž Machine languages are the only languages
understood by computers.
๏‚ž For example, to add two numbers, you might
write an instruction in binary like this:
1101101010011010
๏‚ž It implements a symbolic representation of
the numeric machine codes and other
constants needed to program a particular
CPU architecture.
๏‚— Assembly Program
to add two
numbers:
name "add"
mov al, 5
mov bl, 10
add bl, al
; bin=00000101b
; hex=0ah or
bin=00001010b
; 5 + 10 = 15 (decimal)
or
hex=0fh or
bin=00001111b
๏‚ž High-level languages allow us to write computer
code using instructions resembling everyday
spoken language (for example: print, if, while)
which are then translated into machine
language to be executed.
Examples :
โ€ข ADA โ€ข COBOL
โ€ข C โ€ข C++
โ€ข JAVA โ€ข BASIC
โ€ข PYTHON โ€ข PASCAL
Compiler
๏‚žA compiler translates the entire source
code into a machine-code file.
Interpreter
๏‚— An interpreter reads one statement from
the source code, translates it to the
machine code or virtual machine code,
and then executes it.
Overview of Java
๏‚ž Java is an object oriented programming
language originally developed by Sun Micro
System and released in 1995.
๏‚ž Java was originally by James Gosling at Sun
Microsystems (which has since merge in Oracle
Corporation)
๏‚ž Java programs are platform independent which
means they can be run on any operating system.
๏‚ž Java codes that run on one platform does not
need to recompile to run on another platform,
itโ€™s called โ€œwrite once run anywhereโ€.
Continuedโ€ฆ
๏‚žJava is a high level language like C,
C++, and Visual Basic.
๏‚žIt took 18 months to develop the first
working version.
๏‚žInitially called โ€œOakโ€, a tree; renamed
as โ€œJavaโ€, a cup of coffee in 1995.
๏‚žByte code is a highly optimized set of
instructions designed to be executed by
the Java run-time system, called as
Java Virtual Machine (JVM).
๏‚žJVM is an interpreter for byte code.
๏‚ž Object Oriented
Java is an object oriented programming language
which follows the concepts of oopโ€™s.
๏‚ž Platform Independent
Java application programs written on one
operating system can be able to run on any
platform. So the java is platform independent.
๏‚ž Simple
Java syntax is similar to c and c++ and it follow the
oopโ€™s concepts so it is easy to learn.
๏‚ž Secure
Javaโ€™s securing feature it enable to develop virus
free, tamper free (software which is not modify
by attacker). Continuedโ€ฆ
๏‚ž Portable
We may carry the java byte code to any platform.
๏‚ž Robust
Robust simply means strong. Java uses strong
memory management.
๏‚ž Multi Threaded
A thread is like a separate program, executing
concurrently.
๏‚ž Interpreted
Java is a compiled programming language, but
rather than compile straight to executable machine
code, it compiles to an intermediate binary form
called JVM byte code.
๏‚ž High Performance
Java is faster than traditional interpretation.
Different Editions of Java Technology
๏‚ž Java SE
Java Standard Edition provides tools and APIโ€™s that can
use to create server application, desktop application and
even applets.
๏‚ž Java EE
Java Enterprise Edition helps in web application service,
component model and enterprise class service oriented
architecture.
๏‚ž Java ME
Java Micro Edition or JME is use for the development of
software for devices like mobile phones, PDAโ€™s, TV set-top
box, game programming.
Unit 1 of java part 1 basic introduction akr

More Related Content

What's hot

Lecture19.07.2014
Lecture19.07.2014Lecture19.07.2014
Lecture19.07.2014
vishal choudhary
ย 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3
sotlsoc
ย 
Java introduction
Java introductionJava introduction
Java introduction
NAVEENA ESWARAN
ย 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
subnesh
ย 
Features of java
Features of javaFeatures of java
Features of java
laratechnologies
ย 
Important features of java
Important features of javaImportant features of java
Important features of java
AL- AMIN
ย 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
Cognizant
ย 
Java Virtual Machine
Java Virtual Machine Java Virtual Machine
Java Virtual Machine
profbnk
ย 
.Net Overview
.Net Overview.Net Overview
.Net Overview
Pankaj Rattan
ย 
Java-java virtual machine
Java-java virtual machineJava-java virtual machine
Java-java virtual machine
Surbhi Panhalkar
ย 
Advanced java-training-in-bangalore
Advanced java-training-in-bangaloreAdvanced java-training-in-bangalore
Advanced java-training-in-bangalore
siyaram ray
ย 
Java 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENTJava 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENT
mayank's it solution pvt.ltd
ย 
Java introduction
Java introductionJava introduction
Java introduction
Kuppusamy P
ย 
History of java'
History of java'History of java'
History of java'
deepthisujithra
ย 
Compilation v. interpretation
Compilation v. interpretationCompilation v. interpretation
Compilation v. interpretation
Alexander Bollbach
ย 
Byte code jvm
Byte code jvmByte code jvm
Byte code jvm
myrajendra
ย 
JVM
JVMJVM
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
home
ย 
QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)
Qspiders - Software Testing Training Institute
ย 

What's hot (19)

Lecture19.07.2014
Lecture19.07.2014Lecture19.07.2014
Lecture19.07.2014
ย 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3
ย 
Java introduction
Java introductionJava introduction
Java introduction
ย 
Java Virtual Machine - Internal Architecture
Java Virtual Machine - Internal ArchitectureJava Virtual Machine - Internal Architecture
Java Virtual Machine - Internal Architecture
ย 
Features of java
Features of javaFeatures of java
Features of java
ย 
Important features of java
Important features of javaImportant features of java
Important features of java
ย 
JDK,JRE,JVM
JDK,JRE,JVMJDK,JRE,JVM
JDK,JRE,JVM
ย 
Java Virtual Machine
Java Virtual Machine Java Virtual Machine
Java Virtual Machine
ย 
.Net Overview
.Net Overview.Net Overview
.Net Overview
ย 
Java-java virtual machine
Java-java virtual machineJava-java virtual machine
Java-java virtual machine
ย 
Advanced java-training-in-bangalore
Advanced java-training-in-bangaloreAdvanced java-training-in-bangalore
Advanced java-training-in-bangalore
ย 
Java 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENTJava 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENT
ย 
Java introduction
Java introductionJava introduction
Java introduction
ย 
History of java'
History of java'History of java'
History of java'
ย 
Compilation v. interpretation
Compilation v. interpretationCompilation v. interpretation
Compilation v. interpretation
ย 
Byte code jvm
Byte code jvmByte code jvm
Byte code jvm
ย 
JVM
JVMJVM
JVM
ย 
Architecture diagram of jvm
Architecture diagram of jvmArchitecture diagram of jvm
Architecture diagram of jvm
ย 
QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)QSpiders - Memory (JVM architecture)
QSpiders - Memory (JVM architecture)
ย 

Similar to Unit 1 of java part 1 basic introduction akr

J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
Jay Palit
ย 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
Mohit Belwal
ย 
Java Intro
Java IntroJava Intro
Java Intro
Nazmul Hasan Rupok
ย 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1
RubaNagarajan
ย 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
AmitSingh770691
ย 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
RahulAnand111531
ย 
Java Programming (M&M)
Java Programming (M&M)Java Programming (M&M)
Java Programming (M&M)
mafffffe19
ย 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
AmitSingh770691
ย 
Java features
Java  features Java  features
Java features
Madishetty Prathibha
ย 
Programming in java ppt
Programming in java  pptProgramming in java  ppt
Programming in java ppt
MrsRBoomadeviIT
ย 
Programming in java ppt
Programming in java  pptProgramming in java  ppt
Programming in java ppt
MrsRLakshmiIT
ย 
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
ย 
130700548484460000
130700548484460000130700548484460000
130700548484460000
Tanzeel Ahmad
ย 
OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
DeepanshuMidha5140
ย 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
WE-IT TUTORIALS
ย 
Java session2
Java session2Java session2
Java session2
Jigarthacker
ย 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
HaskellKohler1234
ย 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
Harsha Batra
ย 
Java Programming Basics
Java Programming BasicsJava Programming Basics
Java Programming Basics
Rkrishna Mishra
ย 
JAVA FEATURES
JAVA FEATURESJAVA FEATURES
JAVA FEATURES
shalinikarunakaran1
ย 

Similar to Unit 1 of java part 1 basic introduction akr (20)

J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01J2ee strutswithhibernate-140121221332-phpapp01
J2ee strutswithhibernate-140121221332-phpapp01
ย 
Java & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate FrameworkJava & J2EE Struts with Hibernate Framework
Java & J2EE Struts with Hibernate Framework
ย 
Java Intro
Java IntroJava Intro
Java Intro
ย 
Features of java unit 1
Features of java unit 1Features of java unit 1
Features of java unit 1
ย 
c vs java (2).pptx
c vs java (2).pptxc vs java (2).pptx
c vs java (2).pptx
ย 
Unit1 JAVA.pptx
Unit1 JAVA.pptxUnit1 JAVA.pptx
Unit1 JAVA.pptx
ย 
Java Programming (M&M)
Java Programming (M&M)Java Programming (M&M)
Java Programming (M&M)
ย 
C vs JAVA.pptx
C vs JAVA.pptxC vs JAVA.pptx
C vs JAVA.pptx
ย 
Java features
Java  features Java  features
Java features
ย 
Programming in java ppt
Programming in java  pptProgramming in java  ppt
Programming in java ppt
ย 
Programming in java ppt
Programming in java  pptProgramming in java  ppt
Programming in java ppt
ย 
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...
ย 
130700548484460000
130700548484460000130700548484460000
130700548484460000
ย 
OOPS JAVA.pdf
OOPS JAVA.pdfOOPS JAVA.pdf
OOPS JAVA.pdf
ย 
Sybsc cs sem 3 core java
Sybsc cs sem 3 core javaSybsc cs sem 3 core java
Sybsc cs sem 3 core java
ย 
Java session2
Java session2Java session2
Java session2
ย 
Core Java-1 (1).pdf
Core Java-1 (1).pdfCore Java-1 (1).pdf
Core Java-1 (1).pdf
ย 
Java ms harsha
Java ms harshaJava ms harsha
Java ms harsha
ย 
Java Programming Basics
Java Programming BasicsJava Programming Basics
Java Programming Basics
ย 
JAVA FEATURES
JAVA FEATURESJAVA FEATURES
JAVA FEATURES
ย 

More from AKR Education

Unit 1 of c++ first program
Unit 1 of c++ first programUnit 1 of c++ first program
Unit 1 of c++ first program
AKR Education
ย 
Unit 1 of dbms part 1 basic introduction
Unit 1 of dbms part 1 basic introductionUnit 1 of dbms part 1 basic introduction
Unit 1 of dbms part 1 basic introduction
AKR Education
ย 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
AKR Education
ย 
Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction
AKR Education
ย 
Online classes platform & method
Online classes platform &  methodOnline classes platform &  method
Online classes platform & method
AKR Education
ย 
Traffic sign recognition
Traffic sign recognitionTraffic sign recognition
Traffic sign recognition
AKR Education
ย 

More from AKR Education (6)

Unit 1 of c++ first program
Unit 1 of c++ first programUnit 1 of c++ first program
Unit 1 of c++ first program
ย 
Unit 1 of dbms part 1 basic introduction
Unit 1 of dbms part 1 basic introductionUnit 1 of dbms part 1 basic introduction
Unit 1 of dbms part 1 basic introduction
ย 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
ย 
Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction Unit 1 of java part 2 basic introduction
Unit 1 of java part 2 basic introduction
ย 
Online classes platform & method
Online classes platform &  methodOnline classes platform &  method
Online classes platform & method
ย 
Traffic sign recognition
Traffic sign recognitionTraffic sign recognition
Traffic sign recognition
ย 

Recently uploaded

SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
zuzanka
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
zuzanka
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
Katrina Pritchard
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
TechSoup
ย 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
ย 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Vivekanand Anglo Vedic Academy
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
MJDuyan
ย 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
Krassimira Luka
ย 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
ย 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
PsychoTech Services
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
giancarloi8888
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
haiqairshad
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
melliereed
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
deepaannamalai16
ย 

Recently uploaded (20)

SWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptxSWOT analysis in the project Keeping the Memory @live.pptx
SWOT analysis in the project Keeping the Memory @live.pptx
ย 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
ย 
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptxRESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
RESULTS OF THE EVALUATION QUESTIONNAIRE.pptx
ย 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
ย 
BBR 2024 Summer Sessions Interview Training
BBR  2024 Summer Sessions Interview TrainingBBR  2024 Summer Sessions Interview Training
BBR 2024 Summer Sessions Interview Training
ย 
Leveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit InnovationLeveraging Generative AI to Drive Nonprofit Innovation
Leveraging Generative AI to Drive Nonprofit Innovation
ย 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ย 
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDFLifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
Lifelines of National Economy chapter for Class 10 STUDY MATERIAL PDF
ย 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
ย 
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) CurriculumPhilippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
Philippine Edukasyong Pantahanan at Pangkabuhayan (EPP) Curriculum
ย 
Temple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation resultsTemple of Asclepius in Thrace. Excavation results
Temple of Asclepius in Thrace. Excavation results
ย 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
ย 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
ย 
Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
ย 
Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...Gender and Mental Health - Counselling and Family Therapy Applications and In...
Gender and Mental Health - Counselling and Family Therapy Applications and In...
ย 
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdfREASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
REASIGNACION 2024 UGEL CHUPACA 2024 UGEL CHUPACA.pdf
ย 
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skillsspot a liar (Haiqa 146).pptx Technical writhing and presentation skills
spot a liar (Haiqa 146).pptx Technical writhing and presentation skills
ย 
Nutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour TrainingNutrition Inc FY 2024, 4 - Hour Training
Nutrition Inc FY 2024, 4 - Hour Training
ย 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
ย 
HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.HYPERTENSION - SLIDE SHARE PRESENTATION.
HYPERTENSION - SLIDE SHARE PRESENTATION.
ย 

Unit 1 of java part 1 basic introduction akr

  • 1. By : Anuj Kumar Raghav Assistant Professor www.akraghav.com2020-21 AKR Education www.akreducation.com
  • 2. ๏‚ž Introduction : (Overview of Java , Features, OOPS Concept , Installation ) ๏‚ž (Data types , Variables , Operators) ๏‚ž Arrays ๏‚ž Strings ๏‚ž Exception Handling ๏‚ž Multithreading
  • 3. Overview ๏‚ž Java is a programming language originally developed by Sun Micro System and released in 1995. ๏‚ž Programming Languages: A vocabulary and set of grammatical rules (syntax) for instructing a computer to perform specific tasks. โ€ข Machine Language โ€ข Assembly Language โ€ข High level Language
  • 4. ๏‚ž It is the lowest-level programming language. ๏‚ž Machine languages are the only languages understood by computers. ๏‚ž For example, to add two numbers, you might write an instruction in binary like this: 1101101010011010
  • 5. ๏‚ž It implements a symbolic representation of the numeric machine codes and other constants needed to program a particular CPU architecture. ๏‚— Assembly Program to add two numbers: name "add" mov al, 5 mov bl, 10 add bl, al ; bin=00000101b ; hex=0ah or bin=00001010b ; 5 + 10 = 15 (decimal) or hex=0fh or bin=00001111b
  • 6. ๏‚ž High-level languages allow us to write computer code using instructions resembling everyday spoken language (for example: print, if, while) which are then translated into machine language to be executed. Examples : โ€ข ADA โ€ข COBOL โ€ข C โ€ข C++ โ€ข JAVA โ€ข BASIC โ€ข PYTHON โ€ข PASCAL
  • 7. Compiler ๏‚žA compiler translates the entire source code into a machine-code file. Interpreter ๏‚— An interpreter reads one statement from the source code, translates it to the machine code or virtual machine code, and then executes it.
  • 8. Overview of Java ๏‚ž Java is an object oriented programming language originally developed by Sun Micro System and released in 1995. ๏‚ž Java was originally by James Gosling at Sun Microsystems (which has since merge in Oracle Corporation) ๏‚ž Java programs are platform independent which means they can be run on any operating system. ๏‚ž Java codes that run on one platform does not need to recompile to run on another platform, itโ€™s called โ€œwrite once run anywhereโ€. Continuedโ€ฆ
  • 9. ๏‚žJava is a high level language like C, C++, and Visual Basic. ๏‚žIt took 18 months to develop the first working version. ๏‚žInitially called โ€œOakโ€, a tree; renamed as โ€œJavaโ€, a cup of coffee in 1995. ๏‚žByte code is a highly optimized set of instructions designed to be executed by the Java run-time system, called as Java Virtual Machine (JVM). ๏‚žJVM is an interpreter for byte code.
  • 10.
  • 11.
  • 12. ๏‚ž Object Oriented Java is an object oriented programming language which follows the concepts of oopโ€™s. ๏‚ž Platform Independent Java application programs written on one operating system can be able to run on any platform. So the java is platform independent. ๏‚ž Simple Java syntax is similar to c and c++ and it follow the oopโ€™s concepts so it is easy to learn. ๏‚ž Secure Javaโ€™s securing feature it enable to develop virus free, tamper free (software which is not modify by attacker). Continuedโ€ฆ
  • 13. ๏‚ž Portable We may carry the java byte code to any platform. ๏‚ž Robust Robust simply means strong. Java uses strong memory management. ๏‚ž Multi Threaded A thread is like a separate program, executing concurrently. ๏‚ž Interpreted Java is a compiled programming language, but rather than compile straight to executable machine code, it compiles to an intermediate binary form called JVM byte code. ๏‚ž High Performance Java is faster than traditional interpretation.
  • 14. Different Editions of Java Technology ๏‚ž Java SE Java Standard Edition provides tools and APIโ€™s that can use to create server application, desktop application and even applets. ๏‚ž Java EE Java Enterprise Edition helps in web application service, component model and enterprise class service oriented architecture. ๏‚ž Java ME Java Micro Edition or JME is use for the development of software for devices like mobile phones, PDAโ€™s, TV set-top box, game programming.

Editor's Notes

  1. Continuedโ€ฆ.
  2. Continuedโ€ฆ
  3. Continuedโ€ฆ