1.

Double x = 123.78;int y = (int)x ; pls tell me that which type of casting is shown by the example . Implicit or Explicit ...pls tell​

Answer»

It is an EXAMPLE of EXPLICIT type CASTING.

There are two TYPES of casting.

  1. IMPLICIT type casting and
  2. Explicit type casting.



Discussion

No Comment Found