SlideShare a Scribd company logo
1 of 10
© Prognoz Technologies Pvt. Ltd
Features of Java
Technology
© Prognoz Technologies Pvt. Ltd
Key Features of Java Technology
 Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME respectively.
Java is guaranteed to be Write Once, Run Anywhere
Java is:
1. Object Oriented
2. Platform independent
3. Simple
4. Secure
5. Architectural- neutral
6. Portable
7. Robust
8. Multi-threaded
9. Interpreted
10.High Performance
11.Distributed
12.Dynamic
© Prognoz Technologies Pvt. Ltd
Java Environment Setup
 Setting up the path for windows 2000/XP:
 Assuming you have installed Java in c:Program Filesjava JDK directory:
1. Right-click on 'My Computer' and select 'Properties'.
2. Click on the 'Environment variables' button under the 'Advanced' tab.
3. Now alter the 'Path' variable so that it also contains the path to the Java
executable. Example, if the path is currently set to 'C:WINDOWSSYSTEM32',
then change your path to read 'C:WINDOWSSYSTEM32;c:Program Filesjava
JDKbin'.
Popular Java Editors: 1. Notepad
2. Netbeans
3. Eclipse
© Prognoz Technologies Pvt. Ltd
Java Basic Syntax
When we consider a Java program it can be defined as a collection of objects that
communicate via invoking each others methods. Inside Java Programs we have:
1. Object
2. Class
3. Methods
4. Instance Variables
About Java programs, it is very important to keep in mind the following points.
1. Case Sensitivity - Java is case sensitive which means identifier Hello and hello
would have different meaning in Java.
2. Class Names - For all class names the first letter should be in Upper Case.
If several words are used to form a name of the class each inner words first letter
should be in Upper Case.
Example class MyFirstJavaClass
© Prognoz Technologies Pvt. Ltd
Java Basic Syntax
3. Method Names - All method names should start with a Lower Case letter.
If several words are used to form the name of the method, then each inner
word's first letter should be in Upper Case.
Example: public void myMethodName()
4. Program File Name - Name of the program file should exactly match the class
name.
When saving the file you should save it using the class name (Remember java is
case sensitive) and append '.java' to the end of the name. (if the file name and
the class name do not match your program will not compile).
Example : Assume ‘ MyFirstJavaProgram' is the class name. Then the file should
be saved as 'MyFirstJavaProgram.java'
5. public static void main(String args[]) - java program processing starts from the
main() method which is a mandatory part of every java program..
© Prognoz Technologies Pvt. Ltd
Java Identifiers:
In java there are several points to remember about identifiers.
They are as follows:
1. All identifiers should begin with a letter (A to Z or a to z ),
currency character ($) or an underscore (_).
1. After the first character identifiers can have any combination of characters.
2. A key word cannot be used as an identifier.
3. Most importantly identifiers are case sensitive.
4. Examples of legal identifiers: age, $salary, _value, __1_value
5. Examples of illegal identifiers : 123abc, -salary
© Prognoz Technologies Pvt. Ltd
Java Modifiers:
Like other languages it is possible to modify classes, methods etc
by using modifiers.
There are two categories of modifiers.
1. Access Modifiers : default, public , protected, private
2. Non-access Modifiers : final, abstract, strictfp
© Prognoz Technologies Pvt. Ltd
Java Variables:
We would see following type of variables in Java:
1. Local Variables
2. Class Variables (Static Variables)
3. Instance Variables (Non static variables)
Comments in Java :
/* This is my first java program.
* This will print 'Hello World' as the output
* This is an example of multi-line comments. */
// This is an example of single line comment
/* This is also an example of single line comment. */
© Prognoz Technologies Pvt. Ltd
Java Keywords:
© Prognoz Technologies Pvt. Ltd
Thank you!!
10

More Related Content

What's hot (20)

Bca 4020 java programming
Bca 4020   java programmingBca 4020   java programming
Bca 4020 java programming
 
Java PPT
Java PPTJava PPT
Java PPT
 
Java Basic Syntax
Java Basic SyntaxJava Basic Syntax
Java Basic Syntax
 
JAVA PROGRAMMING – Packages - Stream based I/O
JAVA PROGRAMMING – Packages - Stream based I/O JAVA PROGRAMMING – Packages - Stream based I/O
JAVA PROGRAMMING – Packages - Stream based I/O
 
01slide
01slide01slide
01slide
 
01slide
01slide01slide
01slide
 
Class properties
Class propertiesClass properties
Class properties
 
Java interface
Java interface Java interface
Java interface
 
Core java
Core javaCore java
Core java
 
Inheritance in JAVA PPT
Inheritance  in JAVA PPTInheritance  in JAVA PPT
Inheritance in JAVA PPT
 
JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)JAVA Object Oriented Programming (OOP)
JAVA Object Oriented Programming (OOP)
 
java interface and packages
java interface and packagesjava interface and packages
java interface and packages
 
Java Language
Java LanguageJava Language
Java Language
 
Interfaces In Java
Interfaces In JavaInterfaces In Java
Interfaces In Java
 
Java ocjp level_2
Java ocjp level_2Java ocjp level_2
Java ocjp level_2
 
Packages and Interfaces
Packages and InterfacesPackages and Interfaces
Packages and Interfaces
 
Introduction to Java -unit-1
Introduction to Java -unit-1Introduction to Java -unit-1
Introduction to Java -unit-1
 
Lecture 10
Lecture 10Lecture 10
Lecture 10
 
Java interface
Java interfaceJava interface
Java interface
 
computer science JAVA ppt
computer science JAVA pptcomputer science JAVA ppt
computer science JAVA ppt
 

Viewers also liked (19)

Sarathi_Resume_June 2016
Sarathi_Resume_June 2016Sarathi_Resume_June 2016
Sarathi_Resume_June 2016
 
Group 2 - Women in the European Workplace
Group 2 - Women in the European WorkplaceGroup 2 - Women in the European Workplace
Group 2 - Women in the European Workplace
 
Trabajo catálogo
 Trabajo catálogo  Trabajo catálogo
Trabajo catálogo
 
cloud computing
 cloud computing cloud computing
cloud computing
 
Trabajo empreneduria
Trabajo empreneduriaTrabajo empreneduria
Trabajo empreneduria
 
William Gleason CV OCT 2016
William Gleason CV  OCT 2016William Gleason CV  OCT 2016
William Gleason CV OCT 2016
 
Examen robalino 2_a
Examen robalino 2_aExamen robalino 2_a
Examen robalino 2_a
 
Ricky ortegon
Ricky ortegonRicky ortegon
Ricky ortegon
 
글로벌 사업PM 직무 면접 준비용 신규 사업 제안서
글로벌 사업PM 직무 면접 준비용 신규 사업 제안서글로벌 사업PM 직무 면접 준비용 신규 사업 제안서
글로벌 사업PM 직무 면접 준비용 신규 사업 제안서
 
How does my horror film challenges forms and
How does my horror film challenges forms andHow does my horror film challenges forms and
How does my horror film challenges forms and
 
Godrej properties limited
Godrej properties limitedGodrej properties limited
Godrej properties limited
 
Object-Oriented Paradigm
Object-Oriented Paradigm Object-Oriented Paradigm
Object-Oriented Paradigm
 
Internet of Things: How To Start
Internet of Things: How To StartInternet of Things: How To Start
Internet of Things: How To Start
 
First Solar Buy CTC
First Solar Buy CTCFirst Solar Buy CTC
First Solar Buy CTC
 
Md09 multithreading
Md09 multithreadingMd09 multithreading
Md09 multithreading
 
Dockerizing IoT Services
Dockerizing IoT ServicesDockerizing IoT Services
Dockerizing IoT Services
 
PROJECT AMUL
PROJECT AMULPROJECT AMUL
PROJECT AMUL
 
Report on amul
Report on amulReport on amul
Report on amul
 
Calendario2017 en galego
Calendario2017 en galegoCalendario2017 en galego
Calendario2017 en galego
 

Similar to Features of java technology

Similar to Features of java technology (20)

Computer programming 2 chapter 1
Computer programming 2  chapter 1Computer programming 2  chapter 1
Computer programming 2 chapter 1
 
Core java
Core java Core java
Core java
 
Core java &collections
Core java &collectionsCore java &collections
Core java &collections
 
Core java1
Core java1Core java1
Core java1
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
 
java
java java
java
 
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
 
Unit of competency
Unit of competencyUnit of competency
Unit of competency
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
www.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdfwww.reallygreatsite.com (4).pdf
www.reallygreatsite.com (4).pdf
 
java traning report_Summer.docx
java traning report_Summer.docxjava traning report_Summer.docx
java traning report_Summer.docx
 
Intro Java Rev010
Intro Java Rev010Intro Java Rev010
Intro Java Rev010
 
Cso gaddis java_chapter2
Cso gaddis java_chapter2Cso gaddis java_chapter2
Cso gaddis java_chapter2
 
Modern_2.pptx for java
Modern_2.pptx for java Modern_2.pptx for java
Modern_2.pptx for java
 
OOP with Java
OOP with JavaOOP with Java
OOP with Java
 
Core Java
Core JavaCore Java
Core Java
 
Javaprogbasics
JavaprogbasicsJavaprogbasics
Javaprogbasics
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
 
Introduction
IntroductionIntroduction
Introduction
 

More from Prognoz Technologies Pvt. Ltd. (10)

Introduction to package in java
Introduction to package in javaIntroduction to package in java
Introduction to package in java
 
A comprehensive software infrastructure of .Net
A comprehensive software infrastructure of .Net  A comprehensive software infrastructure of .Net
A comprehensive software infrastructure of .Net
 
Microsoft C# programming basics
Microsoft C# programming basics  Microsoft C# programming basics
Microsoft C# programming basics
 
Introduction of .net framework
Introduction of .net frameworkIntroduction of .net framework
Introduction of .net framework
 
How to handle exceptions in Java Technology
How to handle exceptions in Java Technology How to handle exceptions in Java Technology
How to handle exceptions in Java Technology
 
Basic concept of Object Oriented Programming
Basic concept of Object Oriented Programming Basic concept of Object Oriented Programming
Basic concept of Object Oriented Programming
 
Interesting Concept of Object Oriented Programming
Interesting Concept of Object Oriented Programming Interesting Concept of Object Oriented Programming
Interesting Concept of Object Oriented Programming
 
Qualities of a Successful Person
Qualities of a Successful PersonQualities of a Successful Person
Qualities of a Successful Person
 
Concept of Object Oriented Programming
Concept of Object Oriented Programming Concept of Object Oriented Programming
Concept of Object Oriented Programming
 
Quantitative Aptitude Concepts
Quantitative Aptitude ConceptsQuantitative Aptitude Concepts
Quantitative Aptitude Concepts
 

Recently uploaded

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991RKavithamani
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 

Recently uploaded (20)

The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
Industrial Policy - 1948, 1956, 1973, 1977, 1980, 1991
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 

Features of java technology

  • 1. © Prognoz Technologies Pvt. Ltd Features of Java Technology
  • 2. © Prognoz Technologies Pvt. Ltd Key Features of Java Technology  Sun Microsystems has renamed the new J2 versions as Java SE, Java EE and Java ME respectively. Java is guaranteed to be Write Once, Run Anywhere Java is: 1. Object Oriented 2. Platform independent 3. Simple 4. Secure 5. Architectural- neutral 6. Portable 7. Robust 8. Multi-threaded 9. Interpreted 10.High Performance 11.Distributed 12.Dynamic
  • 3. © Prognoz Technologies Pvt. Ltd Java Environment Setup  Setting up the path for windows 2000/XP:  Assuming you have installed Java in c:Program Filesjava JDK directory: 1. Right-click on 'My Computer' and select 'Properties'. 2. Click on the 'Environment variables' button under the 'Advanced' tab. 3. Now alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to 'C:WINDOWSSYSTEM32', then change your path to read 'C:WINDOWSSYSTEM32;c:Program Filesjava JDKbin'. Popular Java Editors: 1. Notepad 2. Netbeans 3. Eclipse
  • 4. © Prognoz Technologies Pvt. Ltd Java Basic Syntax When we consider a Java program it can be defined as a collection of objects that communicate via invoking each others methods. Inside Java Programs we have: 1. Object 2. Class 3. Methods 4. Instance Variables About Java programs, it is very important to keep in mind the following points. 1. Case Sensitivity - Java is case sensitive which means identifier Hello and hello would have different meaning in Java. 2. Class Names - For all class names the first letter should be in Upper Case. If several words are used to form a name of the class each inner words first letter should be in Upper Case. Example class MyFirstJavaClass
  • 5. © Prognoz Technologies Pvt. Ltd Java Basic Syntax 3. Method Names - All method names should start with a Lower Case letter. If several words are used to form the name of the method, then each inner word's first letter should be in Upper Case. Example: public void myMethodName() 4. Program File Name - Name of the program file should exactly match the class name. When saving the file you should save it using the class name (Remember java is case sensitive) and append '.java' to the end of the name. (if the file name and the class name do not match your program will not compile). Example : Assume ‘ MyFirstJavaProgram' is the class name. Then the file should be saved as 'MyFirstJavaProgram.java' 5. public static void main(String args[]) - java program processing starts from the main() method which is a mandatory part of every java program..
  • 6. © Prognoz Technologies Pvt. Ltd Java Identifiers: In java there are several points to remember about identifiers. They are as follows: 1. All identifiers should begin with a letter (A to Z or a to z ), currency character ($) or an underscore (_). 1. After the first character identifiers can have any combination of characters. 2. A key word cannot be used as an identifier. 3. Most importantly identifiers are case sensitive. 4. Examples of legal identifiers: age, $salary, _value, __1_value 5. Examples of illegal identifiers : 123abc, -salary
  • 7. © Prognoz Technologies Pvt. Ltd Java Modifiers: Like other languages it is possible to modify classes, methods etc by using modifiers. There are two categories of modifiers. 1. Access Modifiers : default, public , protected, private 2. Non-access Modifiers : final, abstract, strictfp
  • 8. © Prognoz Technologies Pvt. Ltd Java Variables: We would see following type of variables in Java: 1. Local Variables 2. Class Variables (Static Variables) 3. Instance Variables (Non static variables) Comments in Java : /* This is my first java program. * This will print 'Hello World' as the output * This is an example of multi-line comments. */ // This is an example of single line comment /* This is also an example of single line comment. */
  • 9. © Prognoz Technologies Pvt. Ltd Java Keywords:
  • 10. © Prognoz Technologies Pvt. Ltd Thank you!! 10