Embed presentation
Download to read offline

![ static fields. For example, the main method is a static method:
public static void main(String[] args)
It is the starting point for a Java application and does not need to
access an object's state.
In fact, there aren't any objects created at this point. Any parameters
that it needs can be passed as a String array.To find out more about
using the static keyword have a look at Static Fields.
Softsmith Infotech 2](https://image.slidesharecdn.com/seleniumidematerial2-170126054011/75/Selenium-ide-material-2-2-2048.jpg)































The static keyword in Java denotes that a member variable or method can be accessed without instantiating the class it belongs to. It allows calling a method without creating an object, as it makes the method a class method rather than an object method. Static methods are used for methods that do not need to access object state or only use static fields, like the main method.

![ static fields. For example, the main method is a static method:
public static void main(String[] args)
It is the starting point for a Java application and does not need to
access an object's state.
In fact, there aren't any objects created at this point. Any parameters
that it needs can be passed as a String array.To find out more about
using the static keyword have a look at Static Fields.
Softsmith Infotech 2](https://image.slidesharecdn.com/seleniumidematerial2-170126054011/75/Selenium-ide-material-2-2-2048.jpg)





























