Java

Selenium Wait Implicit Wait Explicit Wait Fluent Wait

Posted on

Selenium Wait  Command is used in Selenium WebDriver to wait a particular amount of time defined by user.Selenium Wait can be divided into two categories Implicit wait and Explicit wait and another type of hybrid wait is Fluent Wait.In the implicit wait selenium WebDriver wait for a fixed amount of time before executing next command or […]

Java

Access Modifiers in Java ,How Access Level Helps in Inheritance and Polymorphism

Posted on

In java their are 4 access modifiers public,protected,<default>,<package>,private Public-Public  is the access modifiers which shows the highest visibility any class member declare as public can be visible 1.Within the class. 2.Within the package. 3.Outside the package. Protected-Any class member declare as protected are visible 1.Within the class. 2.Within the package. 3.Out side the package but […]

Java

Java Autoboxing and Unboxing with examples

Posted on

Java 1.5 introduced a special feature of auto conversion of primitive types to the corresponding Wrapper class and vice versa. Autoboxing: Automatic conversion of primitive types to the object of their corresponding wrapper classes is known as autoboxing. For example – conversion of int to Integer, long to Long, double to Double etc. Unboxing: It […]