Selenium Testing
  • Programming
  • Features of Java
  • Java Set Up
  • Object and class in Java
  • Data Type in Java
  • What is a variable?
  • Java Operators
  • CONTROL STATEMENTS
  • Array in Java
  • METHODS
  • METHOD OVERLOADING
    • Interview Questions:
  • CONSTRUCTOR
  • Static Keyword
  • this keyword
  • Access Modifiers
  • Inheritance
  • Method overriding
  • Final Keyword
  • super keyword
  • What is abstract Keyword?
  • Interface
  • Type Casting:
  • Need of Collection
  • ArrayList in java
  • HashSet:
  • Exception Handling
  • Method Chaining:
  • Files and I/O Operations In Java: -
  • Wrapper Class
  • String Handling
  • Selenium Grid
  • Automation testing:-
  • Introduction to Selenuim IDE,FireBug,Firepath
  • Locators
  • What is selenium WebDriver?
  • Lunch Google Chrome Browser
  • Selecting Value From Dropdown Or Listbox
  • Background Testing –HtmlunitDrive
  • Importing java doc into eclipse
  • What is TestNG and Why we have to use in Selenium
  • Untitled
  • Creating And Running WebDriver Test Suit Using testng.xml File
Powered by GitBook
On this page

Was this helpful?

Type Casting:

Assigning a value of one type to a variable of another type is known as Type Casting. In Java, type casting is classified into two types.

Widening or Automatic type conversion Automatic Type casting take place when,

  • the two types are compatible

  • the target type is larger than the source type

Output:

Int value 100

Long value 100

Float value 100.0

PreviousInterfaceNextNeed of Collection

Last updated 6 years ago

Was this helpful?