The document outlines a comprehensive Java certification training course, covering topics such as Java introduction, features, data types, control statements, object-oriented programming, and data operations. It emphasizes the importance of Java as a versatile, platform-independent programming language widely used across various domains. Additionally, it provides installation guides and examples of Java applications, reinforcing the practicality of the language in real-world scenarios.
Introduces Java and its origin by James Gosling in 1995. Highlights Java's platform independence and object-oriented nature.
Discusses the significance of Java. Mentions popular domains like Android, Banking, and Big Data utilizing Java.
Details the characteristics of Java: simplicity, portability, object-orientation, security, robustness, high performance, distributed, and dynamic.
Introduces the Java Development Kit (JDK) components including JVM, Java Class Libraries, and development tools.
Describes how Java works involving source code translation to bytecode, class loader, verifier, and JVM.
Steps for installing Java JDK and setting the path on Windows, including downloading JDK from Oracle.
Instructions for downloading and installing Eclipse IDE for Java programming.
Explains Java's primitive data types (int, float, char, boolean) with real-world examples related to a retail billing system.
Covers arithmetic, logical, relational, and unary operators in Java with practical examples regarding purchase calculations.
Describes selection, iteration, and jump statements in Java, including if-else and switch-case structures with contextual educational examples.
Details arrays as data structures, their types (single and multi-dimensional), and practical uses in storing invoicing data.
Fundamentals of OOP: Classes & Objects, Inheritance, Encapsulation, Polymorphism, and Abstraction in Java.
Recap of the session covering key topics: Introduction to Java, Reasons to Learn Java, Features, Working, Data Types, Operators, Control Structures, and Arrays.
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Features of Java
Distributed
Java has a feature called Remote Method Invocation (RMI)
using which a program can invoke method of another
program across a network and get the output.
Dynamic
Java programs carry with them substantial amounts of run-
time type information that is used to verify and resolve
accesses to objects at run time.
14.
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Features of Java
Robust
➢ Java checks the code during the compilation time and run time also.
➢ Java completely takes care of memory allocation and releasing,
which makes the Java program more robust.
High performance
Java achieves high performance through the use of
bytecode which can easily translated into native machine
code.
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Java Installation
To set the permanent path of JDK in your
system:
1. Begin by going to My Computer
Properties.
2. Click on Advanced system setting.
3. Click on Environment Variables
option
4. Select Path variable to edit
5. Enter the path to bin folder inside
JDK installed on your system.(
Default path is C:Program
FilesJavajdk1.8.0_121bin )
1
2
3
4
5
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Data Operations in Java
Data Operations
Arithmetic Operators
+ Addition
- Subtraction
* Multiplication
/ Division
% Modulus
Logical Operators
&& And
|| Or
! Not
Relational operators
< Less than
<= Less than or
equal to
> Greater than
>= Greater than
or equal to
!= Not equal to
== Equals
Unary operators
++ Increment
operator
-- Decrement
operator
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Data Operations in Java
Mathew has come to John’s store to purchase a few products. Below are the items Mathew wishes to purchase :
Below are the cost of the products:
At the time Mathew visited the store, there was a 10% discount on all product.
Finally a service tax of 5% is applicable on all products.
Can you help John compute the amount Mathew has to pay ?
Product Quantity
Item A 2
Item B 1
Item C 3
Product Cost
Item A 200
Item B 75
Item C 500
www.edureka.co/pythonEDUREKA PYTHON CERTIFICATIONTRAINING
LOOPS REPEAT ACTIONS
SO YOU DON’T HAVE TO ...
For
While
Repeat things until the
loop condition is true
Repeat things till the
given number of times
Control Statement
Do While
Execute once and then
repeats things until loop
condition is true
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Marry is a school teacher. She conducted the final exam for the year. The exam included the following subject:
Control Statement
Mathematics Chemistry Physics English
Computer
Science
Since there are multiple students, she wanted to create an automated system that will
take the marks for these subjects and provide a grade for the final score. Below is the
grade distribution :
Percentage Grade
Below 40 Poor
40-59 Average
60-79 Good
80-89 Very Good
90+ Excellent
Can you help me?
`
https://www.edureka.co/java-j2ee-soa-trainingEDUREKA JAVA CERTIFICATIONTRAINING
Blueprint of a house can be considered as a class With the Same blueprint we can create several houses and
these can be considered as objects
Class and Objects
➢ Java is an object oriented and class based programming language.
➢ Object is simply a collection of data (variables) and methods (functions) that act on those data.
➢ Class is a blueprint for the object.