Literals in java must be appended by which of these?

Home | Discussion Forum

Literals in java must be appended by which of these?

View More Related Question

1) Which of these can not be used for a variable name in Java?

2) 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);
}
}

3) Which of these values can a boolean variable contain?

4) Literal can be of which of these data types?

5) Java is a _______ language.

UP Gk Online Test

taiyari24hour.com