Identify the literals listed below:

(i) 0.5 (ii) 'A' (iii) false (iv) "a"

Single Choice
Views 67

Answer:

  1. Real Literal
  2. Character Literal
  3. Boolean Literal
  4. String Literal

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.