SlideShare a Scribd company logo
Java key definition & practice
java programming
Nooria Esmaelzade
2016
Comments
// this is a single comment
/*this is a block comment
* it can be more than one line
*/
/** this is a javadoc comment
*It is used to display the longer comment
*We can generate a html page by using javadoc command in CMD
*/
Examples
/* UnicodeCommentDemo.java
* Java programs are written using Unicode characters
* Unicode presenting a character recognized as usual Java token
*/
public class ClassBExcersise
{
public static void main(String[] args)
{
// The method will print hello java in console
System.out.println(“hello java”);
}
}
Paragraph comment example
Single line comment example
Reserved words
abstract
assert
boolean
break
byte
case
catch
char
class
const
continue
default
do
double
else
enum
extends
false
final
finally
float
for
goto
if
implements
import
instanceof
int
interface
long
native
new
null
package
private
protected
public
return
short
static
strictfp
super
switch
synchronized
this
throw
throws
transient
true
try
void
volatile
while
Modifiers
Public
Private
Protected
Final
Abstract
static
Class
A blue print for the objects
Show message in a box

More Related Content

Similar to Easy java key definition & practice

oop-unit-iv-ppt.ppt
oop-unit-iv-ppt.pptoop-unit-iv-ppt.ppt
oop-unit-iv-ppt.ppt
SureshM228
 
Javaprogbasics
JavaprogbasicsJavaprogbasics
Javaprogbasics
cristiandinca69
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
Rich Helton
 
Android Open source coading guidel ine
Android Open source coading guidel ineAndroid Open source coading guidel ine
Android Open source coading guidel ine
Pragati Singh
 
Enhancing Productivity and Insight A Tour of JDK Tools Progress Beyond Java 17
Enhancing Productivity and Insight  A Tour of JDK Tools Progress Beyond Java 17Enhancing Productivity and Insight  A Tour of JDK Tools Progress Beyond Java 17
Enhancing Productivity and Insight A Tour of JDK Tools Progress Beyond Java 17
Ana-Maria Mihalceanu
 
Java bad coding practices
Java bad coding practicesJava bad coding practices
Java bad coding practices
Gustavo Carrion, MiT
 
java intro.pptx.pdf
java intro.pptx.pdfjava intro.pptx.pdf
java intro.pptx.pdf
TekobashiCarlo
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
sotlsoc
 
Chapter 1.3
Chapter 1.3Chapter 1.3
Chapter 1.3
sotlsoc
 
lecture 6
 lecture 6 lecture 6
lecture 6
umardanjumamaiwada
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
umardanjumamaiwada
 
java Statements
java Statementsjava Statements
java Statements
Usman Ali Kjs
 
TDoc - Bringing Documentation to Tool
TDoc - Bringing Documentation to ToolTDoc - Bringing Documentation to Tool
TDoc - Bringing Documentation to Tool
Florian Gysin
 
Android code convention
Android code conventionAndroid code convention
Android code convention
Siddiq Abu Bakkar
 
Mobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java PrimerMobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java Primer
Mohammad Shaker
 
PHPDoc
PHPDocPHPDoc
PHPDoc
pjfiers
 
Java 9 features
Java 9 featuresJava 9 features
Java 9 features
shrinath97
 
Writing code that writes code - Nguyen Luong
Writing code that writes code - Nguyen LuongWriting code that writes code - Nguyen Luong
Writing code that writes code - Nguyen Luong
Vu Huy
 
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
TechkTalk #12 Grokking: Writing code that writes code – Nguyen LuongTechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
Grokking VN
 
OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
NaorinHalim
 

Similar to Easy java key definition & practice (20)

oop-unit-iv-ppt.ppt
oop-unit-iv-ppt.pptoop-unit-iv-ppt.ppt
oop-unit-iv-ppt.ppt
 
Javaprogbasics
JavaprogbasicsJavaprogbasics
Javaprogbasics
 
Java for Mainframers
Java for MainframersJava for Mainframers
Java for Mainframers
 
Android Open source coading guidel ine
Android Open source coading guidel ineAndroid Open source coading guidel ine
Android Open source coading guidel ine
 
Enhancing Productivity and Insight A Tour of JDK Tools Progress Beyond Java 17
Enhancing Productivity and Insight  A Tour of JDK Tools Progress Beyond Java 17Enhancing Productivity and Insight  A Tour of JDK Tools Progress Beyond Java 17
Enhancing Productivity and Insight A Tour of JDK Tools Progress Beyond Java 17
 
Java bad coding practices
Java bad coding practicesJava bad coding practices
Java bad coding practices
 
java intro.pptx.pdf
java intro.pptx.pdfjava intro.pptx.pdf
java intro.pptx.pdf
 
Chapter 2.1
Chapter 2.1Chapter 2.1
Chapter 2.1
 
Chapter 1.3
Chapter 1.3Chapter 1.3
Chapter 1.3
 
lecture 6
 lecture 6 lecture 6
lecture 6
 
Introduction to computer science
Introduction to computer scienceIntroduction to computer science
Introduction to computer science
 
java Statements
java Statementsjava Statements
java Statements
 
TDoc - Bringing Documentation to Tool
TDoc - Bringing Documentation to ToolTDoc - Bringing Documentation to Tool
TDoc - Bringing Documentation to Tool
 
Android code convention
Android code conventionAndroid code convention
Android code convention
 
Mobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java PrimerMobile Software Engineering Crash Course - C02 Java Primer
Mobile Software Engineering Crash Course - C02 Java Primer
 
PHPDoc
PHPDocPHPDoc
PHPDoc
 
Java 9 features
Java 9 featuresJava 9 features
Java 9 features
 
Writing code that writes code - Nguyen Luong
Writing code that writes code - Nguyen LuongWriting code that writes code - Nguyen Luong
Writing code that writes code - Nguyen Luong
 
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
TechkTalk #12 Grokking: Writing code that writes code – Nguyen LuongTechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
TechkTalk #12 Grokking: Writing code that writes code – Nguyen Luong
 
OOP-Chap2.docx
OOP-Chap2.docxOOP-Chap2.docx
OOP-Chap2.docx
 

More from Nooria Esmaelzade

Walt Disney Animators
Walt Disney Animators Walt Disney Animators
Walt Disney Animators
Nooria Esmaelzade
 
Communication barriers
Communication barriersCommunication barriers
Communication barriers
Nooria Esmaelzade
 
one smile can be the key to open everyone s heart
one smile can be the key to open everyone s heartone smile can be the key to open everyone s heart
one smile can be the key to open everyone s heart
Nooria Esmaelzade
 
Easy practice with if statement and boolean type
Easy practice with if statement and boolean typeEasy practice with if statement and boolean type
Easy practice with if statement and boolean type
Nooria Esmaelzade
 
Easy practice with current timemillis method
Easy practice with current timemillis methodEasy practice with current timemillis method
Easy practice with current timemillis method
Nooria Esmaelzade
 
Easy practice with java variables
Easy practice with java variables Easy practice with java variables
Easy practice with java variables
Nooria Esmaelzade
 
Easy java installation & practice
Easy java installation & practiceEasy java installation & practice
Easy java installation & practice
Nooria Esmaelzade
 

More from Nooria Esmaelzade (7)

Walt Disney Animators
Walt Disney Animators Walt Disney Animators
Walt Disney Animators
 
Communication barriers
Communication barriersCommunication barriers
Communication barriers
 
one smile can be the key to open everyone s heart
one smile can be the key to open everyone s heartone smile can be the key to open everyone s heart
one smile can be the key to open everyone s heart
 
Easy practice with if statement and boolean type
Easy practice with if statement and boolean typeEasy practice with if statement and boolean type
Easy practice with if statement and boolean type
 
Easy practice with current timemillis method
Easy practice with current timemillis methodEasy practice with current timemillis method
Easy practice with current timemillis method
 
Easy practice with java variables
Easy practice with java variables Easy practice with java variables
Easy practice with java variables
 
Easy java installation & practice
Easy java installation & practiceEasy java installation & practice
Easy java installation & practice
 

Easy java key definition & practice