In this article you will have access to a huge number of reusable functions for test automation in java with examples. This can be considered as your bible for all of your needs. We will divide them in to multiple categories as below String manipulation Date and time Number manipulation Currency related Remember that you… (0 comment)

String manipulation in Java with examples
Any programming language including Java uses variables to store data. When it comes to Java, being an object oriented programming language it has separate class for each data type. One such class is “String” it comes with set of methods by default. String manipulation in Java is more easy with the set of methods it… (0 comment)

Write a program to print first n even numbers in java
This program you will learn how to use both conditional and looping constructs in a nested format, that is a conditional statement would be present inside a for loop. As mentioned in other articles, there would be several ways to write logic for any problem / program, here I am showing some of the simple… (0 comment)

Write a program to print first n number in Java
This program helps to introduce the usage of looping structures in java, the following program will print the first n numbers from the number system, you can change the value of n by editing the value that is assigned to the variable “n”, ideally this parameter could be passed from outside and make the program… (0 comment)

Write a program to print hello world in Java
The very first program which any person would attempt when learning a programming language is to print “Hello World!”, today in this article you would learn how to print “Hello World!” in a simple Java Program. // Importing default package import java.lang.*; //code for writing a class. public class HelloWorld { public static void main(String… (0 comment)

50 keywords in Java you should be aware of
Every programming language will have a huge list of keywords so that the respective compiler or interpreter can understand to perform the actions accordingly, similarly we have 50 keywords in Java and it is very important that you should know to write programs in java. Most of you fear its a huge list, but by just giving… (0 comment)