R

Ram Sharma • 193.86K Points
Coach

Q. What is type casting in Java?

  • (A) It is converting type of a variable from one type to another
  • (B) Casting variable to the class
  • (C) Creating a new variable
  • (D) All of these
  • Correct Answer - Option(A)
  • Views: 261
  • Filed under category JAVA

Explanation by: Team MCQ Buddy
Type casting is when you assign a value of one primitive data type to another type.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics