What are the types of casting shown by the following examples:
- char c = (char) 120;
- int x = ‘t’;
Views 8
Answer:
- Explicit Cast.
- Implicit Cast.
Related Articles:
This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.
Join Our telegram group to ask Questions
Click below button to join our groups.