Type Conversion In Java

ginualexginualex kottayam
                                       The YouTube video tutorial , will show you how to implement type conversion.
                               YouTube link address :::::::::::::::::::: https://www.youtube.com/watch?v=4BVwIlJEvOI

Comments

  • TYPE CONVERSION:

    Type conversion means converting variable of one type into another like converting int into float.

    Types of Typecasting:
    1) Widening/Implicit Typecasting
    2)Narrowing /Explicit Typecasting

    1) Widening/Implicit Typecasting: It means target variable's data type is larger than source variable like int to long.
    2)Narrowing /Explicit Typecasting:It means target variable's data type is smaller than source variable like int to short.

    For more features refer following link:

    java.meritcampus.com/t/68/Type-conversion?tc=mm212

    java.meritcampus.com/t/69/Type-casting?tc=mm213

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion