What are Java Modifiers?

  Mo difiers are Java keywords that are used to declare features in applications. They affect either the lifetime or the accessibility of a feature. A feature may be a class, a method, or a variable. Modifiers that affect the visibility of a feature are called access modifiers or visibility modifiers. The remaining modifiers do not fall into any clear categorization and may be called storage and lifetime modifiers. Java modifiers are of two types : Access Modifier   Non-Access Modifier Access Control Modifiers Java provides a number of access modifiers to set access levels for classes, variables, methods and constructors.  The four access levels are: Default Public Private Protected Default:  Visible to the package only . No modifiers are needed.  In sample code below, you can see that no access modifier is used with 'class' keyword which makes it default. Now this class is only visible/accessible to the other classes which are present in the same package along with th

What are Java Operators?

Java Operators are symbols that perform operations on variables and values. Java provides many types of operators which can be used according to our usage. They are classified into following types: Arithmetic Operators Assignment Operators Relational Operators Logical Operators Unary Operators Bitwise Operators  Arithmetic Operators Arithmetic operators are used to perform mathematic operations on variables and data. They operate on numeric values. In simple words they  can be used to perform the mathematical operations of addition, subtraction, multiplication, and division. Operator      Description +                Performs addition –              Performs subtraction *              Performs multiplication /              Performs division %              Returns the remainder of the division Sample Code: class Arithmetic { public static void main (String[] args) { // variables int a = 10 , b = 5 ; // Print sum using addition operator System. out .

How I learned Selenium WebDriver in just 4 weeks

You can learn Selenium WebDriver yourself in just 1 month, yes you read it right! If you want above statement to work for you, then you would have to come up with a proper study plan and follow it with discipline. Discipline is the key here. Let me help you to make that study plan and also will share very useful blog posts links for the same, later in this post. Table of Content 1. My Story of becoming Selenium Professional 2. My Experiments with Selenium 3. Future of Selenium Automation Testing 4. Which language has a better career prospect with Selenium - Java or Python? 5. The 4 Weeks Plan to Learn Selenium WebDriver 6. What next after being Selenium expert? 1. My Story of becoming a Selenium Automation Professional I started my career way back in 2011 as a Manual Software Tester. I had interest in Java but didn't have much practical knowledge of it. I started learning Java slowly. It took some time to get some good  knowledge on Java. Then in 2012 I switched my first c