Question
a.
char ch='\65';
b.
char ch='\142';
c.
char ch='\065';
d.
char ch='142';
Posted under Java Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Choose the wrong representation of a character literal in Octal notation in Java.
Similar Questions
Discover Related MCQs
Q. A Unicode character literal in Java is surrounded by a pair of ___?
View solution
Q. What is the default boolean literal assigned to a boolean variable in Java?
View solution
Q. What is the default character literal value assigned to a char variable in Java?
View solution
Q. What are the Type Conversions available in Java language?
View solution
Q. What is a higher data type in Java language?
View solution
Q. What is a Widening Type Conversion in Java?
View solution
Q. What is a Narrowing Type Conversion in Java?
View solution
Q. What is the result of a Narrowing type conversion?
View solution
Q. What is the result of a Widening Type Conversion in Java?
View solution
Q. Type promotion in Java usually refers to ____.
View solution
Q. Type Casting in Java usually refers to ____?
View solution
Q. Explicit Type Conversion in Java refers to ___?
View solution
Q. Implicit Type Conversion in Java is also called ___?
View solution
Q. Which are the compatible Data Types for Type Promotion or Type Casting?
View solution
Q. In a lossy Type Casting or Type Conversion, how is the number truncated to the target data type in Java?
View solution
Q. A boolean literal in Java can be type casted to which data type?
View solution
Q. If a variable or operand in an expression is type long, then all the operands are type promoted to which data type?
View solution
Q. An Array in Java is a collection of elements of ___ data type.
View solution
Q. The Java Virtual Machine (JVM) implements arrays as ___ type.
View solution
Q. Unlike C-Arrays, the Java-Arrays have ___.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!