SlideShare a Scribd company logo
© 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)

DOCX
Bca 4020 java programming
smumbahelp
 
PPTX
Java PPT
Dilip Kr. Jangir
 
PDF
Java Basic Syntax
javaicon
 
PDF
JAVA PROGRAMMING – Packages - Stream based I/O
Jyothishmathi Institute of Technology and Science Karimnagar
 
PPT
01slide
cdclabs_123
 
PPT
01slide
Usha Sri
 
PPTX
Class properties
Siva Priya
 
DOCX
Java interface
HoneyChintal
 
PPTX
Core java
Shridhar Ramesh
 
PPTX
Inheritance in JAVA PPT
Pooja Jaiswal
 
PDF
JAVA Object Oriented Programming (OOP)
Prof. Erwin Globio
 
PPTX
java interface and packages
VINOTH R
 
PPT
Java Language
tikret
 
PPT
Interfaces In Java
parag
 
PPTX
Java ocjp level_2
Sayed Ahmed
 
PPTX
Packages and Interfaces
AkashDas112
 
PPTX
Introduction to Java -unit-1
RubaNagarajan
 
PDF
Lecture 10
Debasish Pratihari
 
PPT
Java interface
Arati Gadgil
 
PPTX
computer science JAVA ppt
brijesh kumar
 
Bca 4020 java programming
smumbahelp
 
Java Basic Syntax
javaicon
 
JAVA PROGRAMMING – Packages - Stream based I/O
Jyothishmathi Institute of Technology and Science Karimnagar
 
01slide
cdclabs_123
 
01slide
Usha Sri
 
Class properties
Siva Priya
 
Java interface
HoneyChintal
 
Core java
Shridhar Ramesh
 
Inheritance in JAVA PPT
Pooja Jaiswal
 
JAVA Object Oriented Programming (OOP)
Prof. Erwin Globio
 
java interface and packages
VINOTH R
 
Java Language
tikret
 
Interfaces In Java
parag
 
Java ocjp level_2
Sayed Ahmed
 
Packages and Interfaces
AkashDas112
 
Introduction to Java -unit-1
RubaNagarajan
 
Lecture 10
Debasish Pratihari
 
Java interface
Arati Gadgil
 
computer science JAVA ppt
brijesh kumar
 

Viewers also liked (19)

DOCX
Sarathi_Resume_June 2016
Sarathi Thangavel
 
PDF
Trabajo catálogo
José Alberto Alonso Gallardo
 
PPTX
Trabajo empreneduria
Juan Muñoz
 
PDF
William Gleason CV OCT 2016
William Gleason
 
PPTX
Examen robalino 2_a
Mady Robalino
 
PPTX
Ricky ortegon
Ricky ortegon
 
PDF
글로벌 사업PM 직무 면접 준비용 신규 사업 제안서
ByungKon (Alvin) Lee
 
PPTX
How does my horror film challenges forms and
Harry Dosher
 
DOCX
Godrej properties limited
pooja Devi(Guru Nanak dev University)
 
PPTX
Object-Oriented Paradigm
tamigayle
 
PPTX
Internet of Things: How To Start
msyukor
 
PPTX
First Solar Buy CTC
Allison Rhodes
 
PPT
Md09 multithreading
Rakesh Madugula
 
PDF
Dockerizing IoT Services
msyukor
 
DOCX
PROJECT AMUL
Prathamesh Narkar
 
DOCX
Report on amul
Ruchira Yadav
 
PDF
Calendario2017 en galego
Yolanda Castro
 
Sarathi_Resume_June 2016
Sarathi Thangavel
 
Trabajo catálogo
José Alberto Alonso Gallardo
 
Trabajo empreneduria
Juan Muñoz
 
William Gleason CV OCT 2016
William Gleason
 
Examen robalino 2_a
Mady Robalino
 
Ricky ortegon
Ricky ortegon
 
글로벌 사업PM 직무 면접 준비용 신규 사업 제안서
ByungKon (Alvin) Lee
 
How does my horror film challenges forms and
Harry Dosher
 
Godrej properties limited
pooja Devi(Guru Nanak dev University)
 
Object-Oriented Paradigm
tamigayle
 
Internet of Things: How To Start
msyukor
 
First Solar Buy CTC
Allison Rhodes
 
Md09 multithreading
Rakesh Madugula
 
Dockerizing IoT Services
msyukor
 
PROJECT AMUL
Prathamesh Narkar
 
Report on amul
Ruchira Yadav
 
Calendario2017 en galego
Yolanda Castro
 
Ad

Similar to Features of java technology (20)

DOCX
java traning report_Summer.docx
GauravSharma164138
 
PPTX
cs213Lecture_1 java programming oopsss.pptx
mshanajoel6
 
PPTX
Computer programming 2 chapter 1
MLG College of Learning, Inc
 
PDF
java
Kunal Sunesara
 
PPTX
LECTURE 2 -Object oriented Java Basics.pptx
AOmaAli
 
DOCX
Java notes
Upasana Talukdar
 
PPTX
Core Java
Priyanka Pradhan
 
PPTX
Chapter 2 java
Ahmad sohail Kakar
 
PPTX
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
tusharjain613841
 
PPTX
1.introduction to java
Madhura Bhalerao
 
PPT
Java for Mainframers
Rich Helton
 
PPTX
Basics of java 2
Raghu nath
 
PPTX
Lecture - 2 Environment setup & JDK, JRE, JVM
manish kumar
 
PPTX
What is Java, JDK, JVM, Introduction to Java.pptx
kumarsuneel3997
 
PPTX
Core java &collections
Ravi varma
 
PPTX
Core java1
Ravi varma
 
PPTX
Core java
Ravi varma
 
PDF
Core java part1
VenkataBolagani
 
PPTX
Programming in java ppt
MrsRLakshmiIT
 
PPTX
Programming in java ppt
MrsRBoomadeviIT
 
java traning report_Summer.docx
GauravSharma164138
 
cs213Lecture_1 java programming oopsss.pptx
mshanajoel6
 
Computer programming 2 chapter 1
MLG College of Learning, Inc
 
LECTURE 2 -Object oriented Java Basics.pptx
AOmaAli
 
Java notes
Upasana Talukdar
 
Core Java
Priyanka Pradhan
 
Chapter 2 java
Ahmad sohail Kakar
 
Assignmentjsnsnshshusjdnsnshhzudjdndndjd
tusharjain613841
 
1.introduction to java
Madhura Bhalerao
 
Java for Mainframers
Rich Helton
 
Basics of java 2
Raghu nath
 
Lecture - 2 Environment setup & JDK, JRE, JVM
manish kumar
 
What is Java, JDK, JVM, Introduction to Java.pptx
kumarsuneel3997
 
Core java &collections
Ravi varma
 
Core java1
Ravi varma
 
Core java
Ravi varma
 
Core java part1
VenkataBolagani
 
Programming in java ppt
MrsRLakshmiIT
 
Programming in java ppt
MrsRBoomadeviIT
 
Ad

More from Prognoz Technologies Pvt. Ltd. (10)

PPTX
Introduction to package in java
Prognoz Technologies Pvt. Ltd.
 
PPSX
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
PPSX
Microsoft C# programming basics
Prognoz Technologies Pvt. Ltd.
 
PPTX
Introduction of .net framework
Prognoz Technologies Pvt. Ltd.
 
PPSX
How to handle exceptions in Java Technology
Prognoz Technologies Pvt. Ltd.
 
PPTX
Basic concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PPTX
Interesting Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PPSX
Qualities of a Successful Person
Prognoz Technologies Pvt. Ltd.
 
PPSX
Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
PDF
Quantitative Aptitude Concepts
Prognoz Technologies Pvt. Ltd.
 
Introduction to package in java
Prognoz Technologies Pvt. Ltd.
 
A comprehensive software infrastructure of .Net
Prognoz Technologies Pvt. Ltd.
 
Microsoft C# programming basics
Prognoz Technologies Pvt. Ltd.
 
Introduction of .net framework
Prognoz Technologies Pvt. Ltd.
 
How to handle exceptions in Java Technology
Prognoz Technologies Pvt. Ltd.
 
Basic concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Interesting Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Qualities of a Successful Person
Prognoz Technologies Pvt. Ltd.
 
Concept of Object Oriented Programming
Prognoz Technologies Pvt. Ltd.
 
Quantitative Aptitude Concepts
Prognoz Technologies Pvt. Ltd.
 

Recently uploaded (20)

PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
The Different Types of Non-Experimental Research
Thelma Villaflores
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
The Different Types of Non-Experimental Research
Thelma Villaflores
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
Generative AI: it's STILL not a robot (CIJ Summer 2025)
Paul Bradshaw
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 

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