Pages

Data types - Basic Java Tutorials For Selenium WebDriver

I have received many requests from my blog readers for posting some basic java tutorials which are really required in selenium webdriver software testing process. So now I have planned to post some basic java tutorial posts which are really required in selenium webdriver learning and implementation in your software testing process. These tutorials will help you for selenium webdriver interview preparation too. Let we start from different data types In java which we can use in our selenium webdriver software test case preparation.

In java or any other programming languages, data types represents that which type of values can be stored and what will be the size of that value or how much memory will be allocated. There are nearest eight different data types in java like byte, short, int, long, float, double, char, Boolean. byte and short datatypes are not much more useful in selenium webdriver so I am skipping them here to decrease your confusions.

long datatype is useful to store 64 bit integer(Example : 652345) values. You can use it when your value is more larger and can not hold it in int. Same as int datatype, we can not store decimal (Example 452.23) values in long datatype