Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
01 IntroductionTo Java
02 JVM vs JRE vs JDK
03 Java Fundamentals
04 Objects & Classes
05 Methods & Access Modifiers
06 Flow Of Control
07 Arrays
Topics For Today’s Discussion
Introduction to
JAva
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Introduction To Java
High Level Programming Language
Father of Java is James Gosling
Released by Sun Microsystems in 1996
Write Once Run Anywhere (WORA)
Originally called OAK
Free and Open Source Software
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Features Of Java
PortableRobustEasy
Distributed Object Oriented
Platform
Independent
MultithreadedInterpretedSecure
JVM vs JRE vs JDK
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
✓ JVM is an abstract machine that doesn’t exist
physically
✓ Provides runtime environment to drive the Java Code
or applications
✓ It compiles the Java code into bytecode
✓ It is platform dependent
JVM vs JRE vs JDK
Java Virtual Machine
JVM
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
✓ JRE is the environment within which the JVM runs
✓ It contains a set of libraries + other files that JVM uses
at runtime
✓ Also called Java RTE
JRE
JVM vs JRE vs JDK
JVM
Java Runtime Environment
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
JDK
JRE
JVM vs JRE vs JDK
JVM
✓ JDK is a software development environment which is
used to develop Java applications and applets
✓ It contains Development Tools and JRE
Java Development Kit
Objects & Classes
& Classes
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Objects
An real-world entity that
has state and behaviour is
known as an object
01State
It is the data (value) of an
object
Behavior02 It is the functionality) of an
object
03 Identity
The object identity is typically implemented
via a unique ID that is used internally by the
JVM
CHARACTERISTICS
& Classes
Objects &
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Classes
A class is a group of objects which have common properties
class <class_name>{
field;
method;
}
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Classes
A class may contain
Fields
Methods
Constructors
Blocks
Nested Class & Interface
class <class_name>{
field;
method;
}
Java
Fundamentals
Variables
DataTypes
Operators
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Variables
DataTypes
Operators
Variable refers to the name of reserved memory area
1 2 3
Instance
Variables
Static
Variables
Local
Variables
Java Fundamentals - Variables
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Variables
DataTypes
Operators
DataTypes
Primitive Non-Primitive
Boolean Numeric
Character Integral
Integer FloatingPoint
boolean char byte short int long float double
StringArray
Java Fundamentals – Data Types
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Variables
DataTypes
Operators
2 31 4 5 6 7
Arithmetic
Operators
Bitwise
Operators
Logical
Operators
Relational
Operators
Ternary
Operators
Assignment
Operators
8
+ - *
? %
^
& |
&&
|| < > <=
>=
== !=
? : = += -=
*= /= %=
&= ^= |=
<<= >>=
>>>=
++X --X
X++ X--
+X –X
! ~
<< >>
>>>
Shift
Operators
Unary
Operators
Java Fundamentals - Operators
Java
Methods
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Methods
A method is a set of code that is grouped together to perform a specific operation
Pre Defined or Standard Library Methods User Defined Methods
A method must be written inside a class
Each method has its own signature
Java provides two types of methods
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java User Defined Methods
Method Initialization
Method Invocation
To use a method, you need to perform two steps:
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Methods
Method Initialization
Method Invocation
modifier returnType nameOfMethod (Parameter List)
{
// method body
}
✓ A method can be parameterized or non-parameterized
✓ Method definition consists of a method header and a method body
✓ You can Overload Method i.e. Provide same name to more than
one method but their data type or parameter list must be different
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Methods
Method Initialization
Method Invocation
✓ To use a method it needs to be invoked or called
✓ A method can be called in two ways:
1. Call by Value
2. Call by Reference
✓ When a program invokes a method, the program
control gets transferred to the called method
methodName()
methodName(parameter1, parameter2...)
Access
Modifiers
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Access Modifiers
Access modifiers helps to restrict the scope of a class, constructor , variable , method or data member
Default Public Private Protected
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Access Modifiers
Default Public Private Protected
Same class
Same Package subclass
Same Package non-
subclass
Different package
subclass
Different package non-
subclass
Yes Yes Yes Yes
Yes No Yes Yes
Yes No Yes Yes
No No Yes Yes
No No No Yes
My First Java
Program
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
My First Java Program
class Demo{
public static void main(String args[]){
System.out.println("Hello Edureka!!!");
}
}
public static void main(String args[])
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
public static void main String args[]
My First Java Program
public static void main(String args[])
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
public static void main(String args[])
It is a keyword which identifies the class related thing
It is used to define the Return Type of the Method
It is the name of the method that is searched by JVM as a starting
point for an application with a particular signature only
It is the parameter to the main Method where the argument name could
be anything
It is the access modifier of the main method
My First Java Program
public
static
void
main
String args[]
NOTE: main() in Java is the most important method as it is the entry point of any java program
For
While
DoWhile
Iterative
Statements
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
It is a control structure that allows us to repeat certain operations by incrementing and
evaluating a loop counter
Iterative Statements – For Loop
Statement
Initialization
Condition
Increment
/Decrement
False
True
START
END
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
Iterative Statements – For Loop
Syntax
for(initialization; condition; incr/dcr)
{
code block;
}
Statement
Initialization
Condition
Increment
/Decrement
False
True
START
END
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
Iterative Statements – While Loop
It is a control structure that allows us to specify that a certain statement is to be executed
repetitively until the loop condition is false
Statement
Condition
False
True
START
END
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
Iterative Statements – While Loop
Syntax
while (boolean condition)
{
loop statements...
}
Statement
Condition
False
True
START
END
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
Iterative Statements – Do While Loop
It is a control structure that allows code to be executed repeatedly based on a given Boolean
condition and tests the condition before executing the loop body
Statement
Condition
False
True
START
END
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
For
While
DoWhile
Iterative Statements – Do While Loop
Statement
Condition
False
True
START
END
Syntax
do{
//code to be executed
}
while(condition);
Conditional
Statements
If
If-Else
Switch
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If
It is the simplest selection statement in the Java language that checks the condition
and executes the loop if condition is true
If Nested If
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If
If is the most simple decision making statement that decides whether a certain
statement or block of statements will be executed or not
Body of If
True
False
START
END
Test
Expression
Statement
below If
If
Nested If
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If
Syntax
if(condition)
{
//Statements to execute
if condition is true
}
If
Nested If
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If
It is an if statement or an if-else statement within an if statement
If
Nested If
Body of If
True False
START
END
Test
Expression
Statement
below If
Body of
Nested If
Body of If
True
Nested
Test
Expression
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If
Syntax
if (condition1)
{
// Executes when condition1 is true
if (condition2)
{
// Executes when condition2 is true
}
}
If
Nested If
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If Else
It is an upgraded if statement that tests the condition and if the condition is false then ‘else’
statement is executed
If-Else
If-Else-If
Ladder
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If Else
It tests the condition and if the condition is false then ‘else’ statement is executed
If-Else
If-Else-If Ladder
True False
START
END
Test
Expression
Statement
below If
Body of ElseBody of If
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If Else
If-Else
If-Else-If Ladder
Syntax
if (condition)
{
//Executes this block if condition is
true
}
else
{
//Executes this block if condition
is false
}
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If Else
If-Else
If-Else-If Ladder
If-else-if ladder allows the user to use many if else statement within a loop and in case one
of the condition holds true the rest of the loops is bypassed
True
False
START
Statement
below If-else-if
Statement 1
Test
Expression
Test
Expression
Test
Expression
Statement 2
Statement 3
Body of Else
False
True
True
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - If Else
If-Else
If-Else-If Ladder
Syntax
if (condition)
{
statement;
}
else if (condition)
{
statement;
}
.
.
else
statement;
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - Switch
The switch statement provides an easy way to execute conditions to different parts of the code
True
START Switch
Condition
1
Condition
n
Default
Condition
2
Statement 1
break;
Statement 2
break;
Statement n
break;
Default
Statement
True
True
True
False
False
False
Statement just below
Switch Case
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
If
If-Else
Switch
Conditional Statements - Switch
Syntax
switch (expression)
{
case value1:
statement1;
break;
case value2:
statement2;
break;
.
.
case valueN:
statementN;
break;
default:
statementDefault;
}
Jump Statements
break
continue
return
Jump Statements
break
continue
return
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
break
continue
return
Jump Statements - break
The break construct is used to break out of the middle of loops
After a break, all the remaining statements in the loop are skipped and the execution
continues with the immediate next statement outside the loop
It is used in loops (while, for, do-while) and in a switch case
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
break
continue
return
Jump Statements - break
Syntax
if(condition)
{
break;
}
Remaining body
of loop
Statement below loopBreak?
Test
Expression
True
No
Yes
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
break
continue
return
Jump Statements – continue
Continue statement is used to skip execution of statements within a loop
It doesn’t terminate the loop but just skips some part of it to start the
next iteration
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
break
continue
return
Jump Statements – continue
Remaining body
of loop
Statement below
loop
Continue?
Test
Expression
True
No
Yes
Syntax
if(condition)
{
continue;
}
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
break
continue
return
Jump Statements – return
The return statement is used to end the execution of a specific method and then return a value
It sends the program control back to the method caller
The data type of the returned value should always be equal to the data type of the method's declared
return value
Syntax
if(condition)
{
return;
}
Java Arrays
1D
2D
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
Java Arrays – 1 Dimensional
1D
2D
Array is an object which contains fixed number of elements of a similar data type under same name
arrayRefVar = new dataType[arraySize];
=myArray new int[5]
myArray[0] myArray[1] myArray[2] myArray[3] myArray[4]
=myArray[0] 10
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
1D
2D
Array is an object which contains fixed number of elements of a similar data type under same name
arrayRefVar = new dataType[arraySize];
=myArray new int[5]
myArray[0] myArray[1] myArray[2] myArray[3] myArray[4]
=myArray[2]
10
30
=myArray[3] 40
=myArray[4] 50
=myArray[1] 20
Java Arrays – 1 Dimensional
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
1D
2D
Array is an object which contains fixed number of elements of a similar data type under same name
arrayRefVar = new dataType[arraySize];
=myArray new int[5]
myArray[0] myArray[1] myArray[2] myArray[3] myArray[4]
10 30 40 5020
Java Arrays – 1 Dimensional
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
1D
2D
Java Arrays – 2 Dimensional
Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a
single name
datatype[][] arrayRefVar = new dataType[row][col];
=int[][] myArray new int[2][2]
myArray[0][0] myArray[0][1]
myArray[1][0] myArray[1][1]
=myArray[0][0] 100
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
1D
2D
Java Arrays – 2 Dimensional
Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a
single name
datatype[][] arrayRefVar = new dataType[row][col];
=int[][] myArray new int[2][2]
myArray[0][0] myArray[0][1]
myArray[1][0] myArray[1][1]
=myArray[0][1] 200
100
=myArray[1][0] 300
=myArray[1][1] 400
JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
1D
2D
Java Arrays – 2 Dimensional
Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a
single name
datatype[][] arrayRefVar = new dataType[row][col];
=int[][] myArray new int[2][2]
myArray[0][0] myArray[0][1]
myArray[1][0] myArray[1][1]
200100
300 400
Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification Training | Edureka

More Related Content

What's hot

Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
jaimefrozr
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
Eduonix Learning Solutions
 
Java basic
Java basicJava basic
Java basic
Sonam Sharma
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
Professional Guru
 
Core java
Core javaCore java
Core java
Sun Technlogies
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
arvind pandey
 
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
Edureka!
 
Core java
Core java Core java
Core java
Ravi varma
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
aitrichtech
 
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Edureka!
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
Shravan Sanidhya
 
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
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
Elizabeth Thomas
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
Ravi_Kant_Sahu
 
Java Programming
Java ProgrammingJava Programming
Java Programming
Anjan Mahanta
 
Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.
Ritesh Kumar Bhanu
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
Ravi Kant Sahu
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
vinay arora
 
Core java
Core java Core java
Core java
Shubham singh
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
jyoti_lakhani
 

What's hot (20)

Introduction to Java Programming Language
Introduction to Java Programming LanguageIntroduction to Java Programming Language
Introduction to Java Programming Language
 
Java programming course for beginners
Java programming course for beginnersJava programming course for beginners
Java programming course for beginners
 
Java basic
Java basicJava basic
Java basic
 
Introduction to Java
Introduction to JavaIntroduction to Java
Introduction to Java
 
Core java
Core javaCore java
Core java
 
Core java complete ppt(note)
Core java  complete  ppt(note)Core java  complete  ppt(note)
Core java complete ppt(note)
 
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
Java Strings Tutorial | String Manipulation in Java | Java Tutorial For Begin...
 
Core java
Core java Core java
Core java
 
Java Presentation
Java PresentationJava Presentation
Java Presentation
 
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
Advance Java Tutorial | J2EE, Java Servlets, JSP, JDBC | Java Certification T...
 
Training on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan SanidhyaTraining on Core java | PPT Presentation | Shravan Sanidhya
Training on Core java | PPT Presentation | Shravan Sanidhya
 
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...
 
Basics of JAVA programming
Basics of JAVA programmingBasics of JAVA programming
Basics of JAVA programming
 
Genesis and Overview of Java
Genesis and Overview of Java Genesis and Overview of Java
Genesis and Overview of Java
 
Java Programming
Java ProgrammingJava Programming
Java Programming
 
Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.Industrial Training Report on Java Technology.
Industrial Training Report on Java Technology.
 
Introduction to Java Programming
Introduction to Java ProgrammingIntroduction to Java Programming
Introduction to Java Programming
 
Introduction to basics of java
Introduction to basics of javaIntroduction to basics of java
Introduction to basics of java
 
Core java
Core java Core java
Core java
 
1 java programming- introduction
1  java programming- introduction1  java programming- introduction
1 java programming- introduction
 

Similar to Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification Training | Edureka

Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
Edureka!
 
Java certification
Java certificationJava certification
Java certification
Ganesh P
 
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Edureka!
 
Java quick reference
Java quick referenceJava quick reference
Java quick reference
www.programmingarena.com
 
Java & J2EE Coding Conventions
Java & J2EE Coding ConventionsJava & J2EE Coding Conventions
Java & J2EE Coding Conventions
Vijaya Raghava Vuligundam
 
159747608 a-training-report-on
159747608 a-training-report-on159747608 a-training-report-on
159747608 a-training-report-on
homeworkping7
 
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Peter Pilgrim
 
201 core java interview questions oo ps interview questions - javatpoint
201 core java interview questions   oo ps interview questions - javatpoint201 core java interview questions   oo ps interview questions - javatpoint
201 core java interview questions oo ps interview questions - javatpoint
ravi tyagi
 
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
Edureka!
 
Java bcs 21_vision academy_final
Java bcs 21_vision academy_finalJava bcs 21_vision academy_final
Java bcs 21_vision academy_final
VisionAcademyClasses
 
java_bba_21_vision academy_final.pdf
java_bba_21_vision academy_final.pdfjava_bba_21_vision academy_final.pdf
java_bba_21_vision academy_final.pdf
akankshasorate1
 
Certified Core Java Developer
Certified Core Java DeveloperCertified Core Java Developer
Certified Core Java Developer
Narender Rana
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
ishasharma835109
 
Core Java Certification
Core Java CertificationCore Java Certification
Core Java Certification
Vskills
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
siragezeynu
 
JAVA Training in Bangalore
JAVA Training in BangaloreJAVA Training in Bangalore
JAVA Training in Bangalore
RIA Institute of technology
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
siyaram ray
 
Jdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent ProjectsJdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent Projects
Mert Çalışkan
 
imperative programming language, java, android
imperative programming language, java, androidimperative programming language, java, android
imperative programming language, java, android
i i
 
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
DevelopIntelligence
 

Similar to Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification Training | Edureka (20)

Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
Java Certification Tutorial | Java Tutorial For Beginners | Java Training | E...
 
Java certification
Java certificationJava certification
Java certification
 
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
Java Threads Tutorial | Multithreading In Java Tutorial | Java Tutorial For B...
 
Java quick reference
Java quick referenceJava quick reference
Java quick reference
 
Java & J2EE Coding Conventions
Java & J2EE Coding ConventionsJava & J2EE Coding Conventions
Java & J2EE Coding Conventions
 
159747608 a-training-report-on
159747608 a-training-report-on159747608 a-training-report-on
159747608 a-training-report-on
 
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
Devoxx UK 2013 Test-Driven Development with JavaEE 7, Arquillian and Embedded...
 
201 core java interview questions oo ps interview questions - javatpoint
201 core java interview questions   oo ps interview questions - javatpoint201 core java interview questions   oo ps interview questions - javatpoint
201 core java interview questions oo ps interview questions - javatpoint
 
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
Java Interview Questions and Answers | Spring and Hibernate Interview Questio...
 
Java bcs 21_vision academy_final
Java bcs 21_vision academy_finalJava bcs 21_vision academy_final
Java bcs 21_vision academy_final
 
java_bba_21_vision academy_final.pdf
java_bba_21_vision academy_final.pdfjava_bba_21_vision academy_final.pdf
java_bba_21_vision academy_final.pdf
 
Certified Core Java Developer
Certified Core Java DeveloperCertified Core Java Developer
Certified Core Java Developer
 
DAY_1.1.pptx
DAY_1.1.pptxDAY_1.1.pptx
DAY_1.1.pptx
 
Core Java Certification
Core Java CertificationCore Java Certification
Core Java Certification
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
JAVA Training in Bangalore
JAVA Training in BangaloreJAVA Training in Bangalore
JAVA Training in Bangalore
 
JVM, JRE and Javac are the main part for the java program
 JVM, JRE and Javac are the main part for the java program JVM, JRE and Javac are the main part for the java program
JVM, JRE and Javac are the main part for the java program
 
Jdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent ProjectsJdc 2010 - Maven, Intelligent Projects
Jdc 2010 - Maven, Intelligent Projects
 
imperative programming language, java, android
imperative programming language, java, androidimperative programming language, java, android
imperative programming language, java, android
 
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
Whats New in Java 5, 6, & 7 (Webinar Presentation - June 2013)
 

More from Edureka!

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
Edureka!
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
Edureka!
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
Edureka!
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
Edureka!
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
Edureka!
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
Edureka!
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
Edureka!
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
Edureka!
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
Edureka!
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
Edureka!
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
Edureka!
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
Edureka!
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
Edureka!
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
Edureka!
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
Edureka!
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
Edureka!
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
Edureka!
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
Edureka!
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
Edureka!
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
Edureka!
 

More from Edureka! (20)

What to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | EdurekaWhat to learn during the 21 days Lockdown | Edureka
What to learn during the 21 days Lockdown | Edureka
 
Top 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | EdurekaTop 10 Dying Programming Languages in 2020 | Edureka
Top 10 Dying Programming Languages in 2020 | Edureka
 
Top 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | EdurekaTop 5 Trending Business Intelligence Tools | Edureka
Top 5 Trending Business Intelligence Tools | Edureka
 
Tableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | EdurekaTableau Tutorial for Data Science | Edureka
Tableau Tutorial for Data Science | Edureka
 
Python Programming Tutorial | Edureka
Python Programming Tutorial | EdurekaPython Programming Tutorial | Edureka
Python Programming Tutorial | Edureka
 
Top 5 PMP Certifications | Edureka
Top 5 PMP Certifications | EdurekaTop 5 PMP Certifications | Edureka
Top 5 PMP Certifications | Edureka
 
Top Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | EdurekaTop Maven Interview Questions in 2020 | Edureka
Top Maven Interview Questions in 2020 | Edureka
 
Linux Mint Tutorial | Edureka
Linux Mint Tutorial | EdurekaLinux Mint Tutorial | Edureka
Linux Mint Tutorial | Edureka
 
How to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| EdurekaHow to Deploy Java Web App in AWS| Edureka
How to Deploy Java Web App in AWS| Edureka
 
Importance of Digital Marketing | Edureka
Importance of Digital Marketing | EdurekaImportance of Digital Marketing | Edureka
Importance of Digital Marketing | Edureka
 
RPA in 2020 | Edureka
RPA in 2020 | EdurekaRPA in 2020 | Edureka
RPA in 2020 | Edureka
 
Email Notifications in Jenkins | Edureka
Email Notifications in Jenkins | EdurekaEmail Notifications in Jenkins | Edureka
Email Notifications in Jenkins | Edureka
 
EA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | EdurekaEA Algorithm in Machine Learning | Edureka
EA Algorithm in Machine Learning | Edureka
 
Cognitive AI Tutorial | Edureka
Cognitive AI Tutorial | EdurekaCognitive AI Tutorial | Edureka
Cognitive AI Tutorial | Edureka
 
AWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | EdurekaAWS Cloud Practitioner Tutorial | Edureka
AWS Cloud Practitioner Tutorial | Edureka
 
Blue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | EdurekaBlue Prism Top Interview Questions | Edureka
Blue Prism Top Interview Questions | Edureka
 
Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka Big Data on AWS Tutorial | Edureka
Big Data on AWS Tutorial | Edureka
 
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | EdurekaA star algorithm | A* Algorithm in Artificial Intelligence | Edureka
A star algorithm | A* Algorithm in Artificial Intelligence | Edureka
 
Kubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | EdurekaKubernetes Installation on Ubuntu | Edureka
Kubernetes Installation on Ubuntu | Edureka
 
Introduction to DevOps | Edureka
Introduction to DevOps | EdurekaIntroduction to DevOps | Edureka
Introduction to DevOps | Edureka
 

Recently uploaded

Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
uuuot
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
SATYENDRA100
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
Emerging Tech
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Mydbops
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
Matthew Sinclair
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
ScyllaDB
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
HackersList
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
Yevgen Sysoyev
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
ScyllaDB
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
The Digital Insurer
 
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
kantakumariji156
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
ScyllaDB
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 

Recently uploaded (20)

Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
Implementations of Fused Deposition Modeling in real world
Implementations of Fused Deposition Modeling  in real worldImplementations of Fused Deposition Modeling  in real world
Implementations of Fused Deposition Modeling in real world
 
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - MydbopsScaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
Scaling Connections in PostgreSQL Postgres Bangalore(PGBLR) Meetup-2 - Mydbops
 
20240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 202420240704 QFM023 Engineering Leadership Reading List June 2024
20240704 QFM023 Engineering Leadership Reading List June 2024
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
Running a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU ImpactsRunning a Go App in Kubernetes: CPU Impacts
Running a Go App in Kubernetes: CPU Impacts
 
How Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdfHow Social Media Hackers Help You to See Your Wife's Message.pdf
How Social Media Hackers Help You to See Your Wife's Message.pdf
 
DealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 editionDealBook of Ukraine: 2024 edition
DealBook of Ukraine: 2024 edition
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
 
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
 
20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 

Java Tutorial For Beginners - Step By Step | Java Basics | Java Certification Training | Edureka

  • 1. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training
  • 2. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 01 IntroductionTo Java 02 JVM vs JRE vs JDK 03 Java Fundamentals 04 Objects & Classes 05 Methods & Access Modifiers 06 Flow Of Control 07 Arrays Topics For Today’s Discussion
  • 4. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Introduction To Java High Level Programming Language Father of Java is James Gosling Released by Sun Microsystems in 1996 Write Once Run Anywhere (WORA) Originally called OAK Free and Open Source Software
  • 5. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Features Of Java PortableRobustEasy Distributed Object Oriented Platform Independent MultithreadedInterpretedSecure
  • 6. JVM vs JRE vs JDK
  • 7. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training ✓ JVM is an abstract machine that doesn’t exist physically ✓ Provides runtime environment to drive the Java Code or applications ✓ It compiles the Java code into bytecode ✓ It is platform dependent JVM vs JRE vs JDK Java Virtual Machine JVM
  • 8. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training ✓ JRE is the environment within which the JVM runs ✓ It contains a set of libraries + other files that JVM uses at runtime ✓ Also called Java RTE JRE JVM vs JRE vs JDK JVM Java Runtime Environment
  • 9. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training JDK JRE JVM vs JRE vs JDK JVM ✓ JDK is a software development environment which is used to develop Java applications and applets ✓ It contains Development Tools and JRE Java Development Kit
  • 12. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Objects An real-world entity that has state and behaviour is known as an object 01State It is the data (value) of an object Behavior02 It is the functionality) of an object 03 Identity The object identity is typically implemented via a unique ID that is used internally by the JVM CHARACTERISTICS
  • 15. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Classes A class is a group of objects which have common properties class <class_name>{ field; method; }
  • 16. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Classes A class may contain Fields Methods Constructors Blocks Nested Class & Interface class <class_name>{ field; method; }
  • 18. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Variables DataTypes Operators Variable refers to the name of reserved memory area 1 2 3 Instance Variables Static Variables Local Variables Java Fundamentals - Variables
  • 19. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Variables DataTypes Operators DataTypes Primitive Non-Primitive Boolean Numeric Character Integral Integer FloatingPoint boolean char byte short int long float double StringArray Java Fundamentals – Data Types
  • 20. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Variables DataTypes Operators 2 31 4 5 6 7 Arithmetic Operators Bitwise Operators Logical Operators Relational Operators Ternary Operators Assignment Operators 8 + - * ? % ^ & | && || < > <= >= == != ? : = += -= *= /= %= &= ^= |= <<= >>= >>>= ++X --X X++ X-- +X –X ! ~ << >> >>> Shift Operators Unary Operators Java Fundamentals - Operators
  • 22. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Methods A method is a set of code that is grouped together to perform a specific operation Pre Defined or Standard Library Methods User Defined Methods A method must be written inside a class Each method has its own signature Java provides two types of methods
  • 23. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java User Defined Methods Method Initialization Method Invocation To use a method, you need to perform two steps:
  • 24. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Methods Method Initialization Method Invocation modifier returnType nameOfMethod (Parameter List) { // method body } ✓ A method can be parameterized or non-parameterized ✓ Method definition consists of a method header and a method body ✓ You can Overload Method i.e. Provide same name to more than one method but their data type or parameter list must be different
  • 25. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Methods Method Initialization Method Invocation ✓ To use a method it needs to be invoked or called ✓ A method can be called in two ways: 1. Call by Value 2. Call by Reference ✓ When a program invokes a method, the program control gets transferred to the called method methodName() methodName(parameter1, parameter2...)
  • 27. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Access Modifiers Access modifiers helps to restrict the scope of a class, constructor , variable , method or data member Default Public Private Protected
  • 28. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Access Modifiers Default Public Private Protected Same class Same Package subclass Same Package non- subclass Different package subclass Different package non- subclass Yes Yes Yes Yes Yes No Yes Yes Yes No Yes Yes No No Yes Yes No No No Yes
  • 30. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training My First Java Program class Demo{ public static void main(String args[]){ System.out.println("Hello Edureka!!!"); } } public static void main(String args[])
  • 31. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training public static void main String args[] My First Java Program public static void main(String args[])
  • 32. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training public static void main(String args[]) It is a keyword which identifies the class related thing It is used to define the Return Type of the Method It is the name of the method that is searched by JVM as a starting point for an application with a particular signature only It is the parameter to the main Method where the argument name could be anything It is the access modifier of the main method My First Java Program public static void main String args[] NOTE: main() in Java is the most important method as it is the entry point of any java program
  • 34. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile It is a control structure that allows us to repeat certain operations by incrementing and evaluating a loop counter Iterative Statements – For Loop Statement Initialization Condition Increment /Decrement False True START END
  • 35. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile Iterative Statements – For Loop Syntax for(initialization; condition; incr/dcr) { code block; } Statement Initialization Condition Increment /Decrement False True START END
  • 36. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile Iterative Statements – While Loop It is a control structure that allows us to specify that a certain statement is to be executed repetitively until the loop condition is false Statement Condition False True START END
  • 37. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile Iterative Statements – While Loop Syntax while (boolean condition) { loop statements... } Statement Condition False True START END
  • 38. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile Iterative Statements – Do While Loop It is a control structure that allows code to be executed repeatedly based on a given Boolean condition and tests the condition before executing the loop body Statement Condition False True START END
  • 39. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training For While DoWhile Iterative Statements – Do While Loop Statement Condition False True START END Syntax do{ //code to be executed } while(condition);
  • 41. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If It is the simplest selection statement in the Java language that checks the condition and executes the loop if condition is true If Nested If
  • 42. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If If is the most simple decision making statement that decides whether a certain statement or block of statements will be executed or not Body of If True False START END Test Expression Statement below If If Nested If
  • 43. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Syntax if(condition) { //Statements to execute if condition is true } If Nested If
  • 44. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If It is an if statement or an if-else statement within an if statement If Nested If Body of If True False START END Test Expression Statement below If Body of Nested If Body of If True Nested Test Expression
  • 45. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Syntax if (condition1) { // Executes when condition1 is true if (condition2) { // Executes when condition2 is true } } If Nested If
  • 46. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Else It is an upgraded if statement that tests the condition and if the condition is false then ‘else’ statement is executed If-Else If-Else-If Ladder
  • 47. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Else It tests the condition and if the condition is false then ‘else’ statement is executed If-Else If-Else-If Ladder True False START END Test Expression Statement below If Body of ElseBody of If
  • 48. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Else If-Else If-Else-If Ladder Syntax if (condition) { //Executes this block if condition is true } else { //Executes this block if condition is false }
  • 49. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Else If-Else If-Else-If Ladder If-else-if ladder allows the user to use many if else statement within a loop and in case one of the condition holds true the rest of the loops is bypassed True False START Statement below If-else-if Statement 1 Test Expression Test Expression Test Expression Statement 2 Statement 3 Body of Else False True True
  • 50. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - If Else If-Else If-Else-If Ladder Syntax if (condition) { statement; } else if (condition) { statement; } . . else statement;
  • 51. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - Switch The switch statement provides an easy way to execute conditions to different parts of the code True START Switch Condition 1 Condition n Default Condition 2 Statement 1 break; Statement 2 break; Statement n break; Default Statement True True True False False False Statement just below Switch Case
  • 52. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training If If-Else Switch Conditional Statements - Switch Syntax switch (expression) { case value1: statement1; break; case value2: statement2; break; . . case valueN: statementN; break; default: statementDefault; }
  • 55. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training break continue return Jump Statements - break The break construct is used to break out of the middle of loops After a break, all the remaining statements in the loop are skipped and the execution continues with the immediate next statement outside the loop It is used in loops (while, for, do-while) and in a switch case
  • 56. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training break continue return Jump Statements - break Syntax if(condition) { break; } Remaining body of loop Statement below loopBreak? Test Expression True No Yes
  • 57. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training break continue return Jump Statements – continue Continue statement is used to skip execution of statements within a loop It doesn’t terminate the loop but just skips some part of it to start the next iteration
  • 58. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training break continue return Jump Statements – continue Remaining body of loop Statement below loop Continue? Test Expression True No Yes Syntax if(condition) { continue; }
  • 59. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training break continue return Jump Statements – return The return statement is used to end the execution of a specific method and then return a value It sends the program control back to the method caller The data type of the returned value should always be equal to the data type of the method's declared return value Syntax if(condition) { return; }
  • 61. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training Java Arrays – 1 Dimensional 1D 2D Array is an object which contains fixed number of elements of a similar data type under same name arrayRefVar = new dataType[arraySize]; =myArray new int[5] myArray[0] myArray[1] myArray[2] myArray[3] myArray[4] =myArray[0] 10
  • 62. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 1D 2D Array is an object which contains fixed number of elements of a similar data type under same name arrayRefVar = new dataType[arraySize]; =myArray new int[5] myArray[0] myArray[1] myArray[2] myArray[3] myArray[4] =myArray[2] 10 30 =myArray[3] 40 =myArray[4] 50 =myArray[1] 20 Java Arrays – 1 Dimensional
  • 63. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 1D 2D Array is an object which contains fixed number of elements of a similar data type under same name arrayRefVar = new dataType[arraySize]; =myArray new int[5] myArray[0] myArray[1] myArray[2] myArray[3] myArray[4] 10 30 40 5020 Java Arrays – 1 Dimensional
  • 64. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 1D 2D Java Arrays – 2 Dimensional Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a single name datatype[][] arrayRefVar = new dataType[row][col]; =int[][] myArray new int[2][2] myArray[0][0] myArray[0][1] myArray[1][0] myArray[1][1] =myArray[0][0] 100
  • 65. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 1D 2D Java Arrays – 2 Dimensional Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a single name datatype[][] arrayRefVar = new dataType[row][col]; =int[][] myArray new int[2][2] myArray[0][0] myArray[0][1] myArray[1][0] myArray[1][1] =myArray[0][1] 200 100 =myArray[1][0] 300 =myArray[1][1] 400
  • 66. JAVA CERTIFICATION TRAINING www.edureka.co/java-j2ee-soa-training 1D 2D Java Arrays – 2 Dimensional Like a 1D array, a 2D array is also a collection of data cells, all of the same type, which can be given a single name datatype[][] arrayRefVar = new dataType[row][col]; =int[][] myArray new int[2][2] myArray[0][0] myArray[0][1] myArray[1][0] myArray[1][1] 200100 300 400