Professional Documents
Culture Documents
Java Notes
Java Notes
Java Notes
Automation Testing is the process of testing the software using an automation tool to
find the defect. In this process executing the script and generating the reports
automatically.
Required one editor tool to write the java code - Eclipse editor tool.
Java -
Java is a classed based object oriented programming language. For building the web
based and desktop based application.
Features of java
1. Simple
2. Object oriented programming lan.
3. Platform independent. - Windows ,Linux , MacOs.
4. Secured.
5. Robust - ( Strong)
6. Freely available in the market.
Project structure :
The main() method is the starting pint for JVM to start execution of the java program.
Without main method JVM will not execute the program.
1. Variables (introduction)
2. Data Type
3. Methods
4. Loops
5. Control statements
6. Keywords & identifiers
7. Types of variables
8. Constructor
1. Variables :-
1. Variables are nothing but piece of memory use to store information &
One variable can store 1 information at a time.
2. Variables also used in information reusability.
3.To utalize variables in java programming language we need to follow below steps:
1.Variable declaration (Allocating/Reserving memory)
2.Variable Initialisation (Assigning or inserting value)
3.Usage
2. Data Types
1. Data type are used to represent data or information which we are going to store in
variables.
0r
Data types specify the different sizes and values that can be stored in the variable.