Java Quick Tutorial

Java for Selenium 1) Java Environment Setup & Verify 2) Comments in Java 3) Java Data Types 4) Java Modifiers 5) Variables 6) Operators 7) Conditional Statements 8) Loop Statements 9) String Handling in Java 10) Arrays in Java 11) Java IO Operations and File Handling 12) Java Built-in Methods 13) Java User defined Methods … Read more

In Which sequence should We learn Java?

In Which sequence should We learn Java? Java is a Programming Language as well as Software Platform, Java has several editions, first you learn, Java Standard Edition / Core Java, Java Enterprise Edition / Advanced Java, Using these editions we can develop, 1) Desktop Applications 2) Web Applications 3) Enterprise Applications 4) Scientific Applications etc… … Read more

Java Quick Tutorial for Selenium Part 2

Core Java Quick Tutorial for Selenium Part 2 In Java Quick Tutorial Part 1, I explained, Java Environment Setup & Verify A) Java Fundamentals i) Comments in Java ii) Java Data Types iii) Java Modifiers iv) Variables v) Operators vi) Conditional Statements vii) Loop Statements viii) String Handling in Java ix) Arrays in Java x) … Read more

Java Programming for Selenium

Java Programming for Selenium 1) Java for Selenium Part 1 (Java Environment Setup on MS Windows, Write & Execute a Java Program using Windows Command Prompt, Write Java programs using Eclipse IDE, Java Syntax Rules, and Java Program Structure) 2) Java for Selenium Part 2 (Java Programming Example with all Java Programming features such as … Read more

Java Loop Statements, String Handling

Java Loop Statements, String Handling i) Java Loop Statements ii) String Handling in Java ————————— Java Conditional Statements 6) Decide among several alternates (using switch statement) Syntax: switch (expression){ case value: Statements ————- ———– ———- break; case value: Statements ————- ———– ———- break; case value: Statements ————- ———– ———- break; default: Statements ———– ———– ———– … Read more

Input Output Operations and File Handing in Java

Input Output Operations and File Handing in Java i) Input and Output Operations ii) File Handling in Java iii) Exception Handling in Java ——————————– i) Input and Output Operations There three ways available for reading input. a) Scanner b) DataInputStream c) BufferedReader —————————— Using java.util.Scanner is the easier way and it includes many methods to … Read more

Java Conditional and Loop Statements

Java Conditional and Loop Statements Java Flow Control i) Java Conditional Statements 2) Java Loop Statements ————————————————————– i) Java Conditional Statements > Conditional Statements are used to insert verification points and error handling. a) Two types of Conditional statements in Java 1) if statement 2) switch Statement ———————— b) Types of Conditions 1) Single Condition … Read more

Java Tutorial 1

Java Tutorial 1 (Java Environment Setup and Write First Java Program) > Download Java (JDK) Software and Install > set Environment Variable (Path Variable) (* If want to execute Java programs from any directory in C Drive) How to set Path Environment Variable: OS: Windows 7 > Select MYComputer and Right click > Properties > … Read more