Selasa, 26 Juli 2016

How to perform type conversion and type casting in java

In this article you will learn about Java type conversion and casting with appropriate examples. Converting a value from one type to another type (data type) is known as type conversion. Type conversion is of types based on how the conversion is performed: 1)Implicit conversion (also known as automatic conversion or coercion), 2)Explicit conversion (also known as type casting). Implicit Conversion or Coercion This type of conversion is performed automatically by Java due to performance reasons. Implicit conversion is not performed at all times. There are two rules to be satisfied for the conversion to take place. They are: The

The post How to perform type conversion and type casting in java appeared first on Coding Security.


How to perform type conversion and type casting in java
read more

Tidak ada komentar:

Posting Komentar