Literals in java must be appended by which of these?

Home | Discussion Forum
Taiyari24Hour

Literals in java must be appended by which of these?



View More Related Question

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

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

5) Literals in java must be appended by which of these?

UP Gk Online Test

taiyari24hour.com

Study 2 Online Says....
Kindly log in or signup.