πŸ“Š JAVA
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) It is converting type of a variable from one type to another

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

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

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
449
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
88%
Success Rate