Jumat, 16 Desember 2016

How to perform type casting and type conversion in java programming

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

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


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

Tidak ada komentar:

Posting Komentar