Literal can be of which of these data types?

Home | Discussion Forum
Taiyari24Hour

Literal can be of which of these data types?



View More Related Question

2) What is the output for the below code ?

 public class Test
{
public static void main(String[] args)
{
byte b = 6;
b+=8;
System.out.println(b);
b = b+7;
System.out.println(b);
}
}

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

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

5) Java is a _______ language.

UP Gk Online Test

taiyari24hour.com

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