%in Rustenburg+277-882-255-28 abortion pills for sale in Rustenburg
LJ_JAVA_FS_CORE_JAVA.pptx
1.
2.
3. • History Of Java
• Features of Java
• Java Architecture
• JVM, JRE, JDK
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18. How are Objects created ?
An object is an instance of a class. A class is a
template or blueprint from which objects are created.
So, an object is the instance(result) of a class
Object Definitions:
• An object is a real-world entity.
• An object is a runtime entity.
• The object is an entity which has state and behavior.
• The object is an instance of a class.
26. append(String s) insert(int offset,
String s)
replace(int
startIndex, int
endIndex, String str)
delete(int startIndex,
int endIndex)
reverse()
charAt(int index) length() substring(int
beginIndex)
substring(int
beginIndex, int
endIndex)
substring(int
beginIndex, int
endIndex)
27. There are three types of For Loop:
• Simple for Loop
• For-each or Enhanced for Loop
28. 1.Simple if statement
2.if-else statement
3.if-else-if ladder
4.Nested if-statement
if(condition 1) {
statement 1; //executes when condition 1 is true
}
The switch statement contains multiple blocks of code
called cases and a single case is executed based on the
variable which is being switched. The switch statement is easier
to use instead of if-else-if statements. It also enhances the
readability of the program.
Syntax
switch (expression){
case value1:
statement1;
break;
.
.
.
case valueN:
statementN;
break;
default:
default statement;
}