Java MCQ - English
Which of these occupy first 0 to 127 in Unicode character set used for character
Home | Discussion ForumWhich of these occupy first 0 to 127 in Unicode character set used for characters in Java?
ASCII
ISO-LATIN-1
None of the mentioned
ASCII and ISO-LATIN1
Answer : D
View More Related Question
1) Which of these is long data type literal?
2) What will be the output for the below code ?
public class Test
{
public static void main(String[] args)
{
byte i = 128;
System.out.println(i);
}
}
3) Which one is a valid declaration of a boolean?
4) In Java, the word true is ................
5) What is the output for the below code ?
public class Test
{
public static void main(String[] args)
{
int i = 010;
int j = 07;
System.out.println(i);
System.out.println(j);
}
}
8 7
10 7
Compilation fails with an error at line 3
Compilation fails with an error at line 5
View Answer