0% found this document useful (0 votes)
11 views

Java Environment SetUp

Uploaded by

Paresh Sonparote
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Java Environment SetUp

Uploaded by

Paresh Sonparote
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Desktop Applications

Web Applications

Enterprise Applications (ex: Banking,


Insurance, ERP etc...)

Mobile Applications

Uses of Java Embedded Systems

Smart Cards

Games Applications

Scientific Applications Etc...

Test Automation (with Selenium)

Java is a case sensitive language

Note: All Java keywords and reserved


words are small letters
(if, for, public, main, true, false, null...)

First letter of class name should be in


upper case

Java Method names should start with


lower case

Java program file name should exactly


Java Syntax & Rules match with class name

Java program execution starts from main


method, which is mandatory in every Java
program

Every statement /step should end with


semi colon (;)

Code blocks (conditional, Loop, Method


etc...Enclosed with {}

Java supports Explicit declaration of Data


Types

Java supports explicit declaration of


Variables

Write a Program (in any Editor)


Important steps in Computer
programming Compile the Program

Run the program

Steps for writing and executing Java



programs using command line interface
Java Environment Setup & Verify
Steps for writing and executing Java

programs using Eclipse IDE

Set Java Environment Variable 

Write and Execute a java program using


Java Environment Setup Notepad, Eclipse

JDK

JRE

JVM

Java Basic Garbage Collector

Class, Object, Reference Variable

main() method

print statement

Download & Install

How to use Eclipse

How to run, stop, pause

How to debug in Eclipse

Eclipse IDE Understanding console output

How to put a break point

How to add Watch variables

How to find errors from Problem window

Usage of step into and Step over debug


functionality

Download & Install Java

Download & Start Eclipse

Download & Configure WebDriver java


client

Set Up Eclipse Set up a project

Create packages

Create a first java test case

Import WebDriver source file

Documentation Section

Package Statement

Import Statement/s

Class Definition

Interface Section
Java Program Structure
main Method

Variable Declaration Statement/s

Normal Statements

Code Blocks

Object Creation Statement

You might also like