TOTAL QS = 20Time [ 00 : 00 : 00 ]

Java Basics: Literals or Constants Online Test 1


Total Questions: 20

Total Minutes: 20

This ExamTray Free Online Exam/Quiz/Trivia tests your Java Programming Skills on Java Literals or Constants. Literal types are nothing but data types. This test displays answers after finishing the exam for review. You can easily clear Competitive Exams and Job Interview Questions after attending this exam.

Go through Java Theory Notes on Literals before attempting this test.

All the Best

Challenge SCORE

0 / 20

Take This Exam
1) What is Literal in Java?
2) What are the types of Literals available in Java language?
3) What are the types of Integer Literals in Java?
4) Choose correct examples of decimal literals in Java.
5) An Octal number is Java is represented with a leading ____?
6) Choose correct ranges for Decimal, Octal and Hexadecimal numbers in Java?
7) Choose the correct example of Octal Literal in Java?
8) What is the prefix used to represent Hexadecimal numbers in Java?
9) Choose correct examples of Hexadecimal literals in Java?
10) Binary literals in Java are introduced with which version of Java?
11) Underscore symbols in literal numbers are introduced with which version of Java?
12) What is the prefix used to represent Binary literals in Java?
13) What is the correct representation of using Binary literals in Java?
14) What is the compiler error for improperly using Underscores ( _ ) in literals in Java?
15) Choose a correct rule for using Underscores in literals of Java language.
16) What is the maximum number of Underscore characters that can be used in between the digits of a numeric literal in Java?
17) Java uses UTF-16 Unicode format to represent characters. What is UTF?
18) What is the name given to character literals in Java that start with a Back Slash character?
19) What is the literal in Java that can be used to test whether an Object of any type is alive or not? 
20) What is the common UTF standard used on the Websites for information exchange?
Certification Group ID

Open Certification Helper Popup Reset Popup