What is the numerical range of a char data type in Java?

Home | Discussion Forum
Taiyari24Hour

What is the numerical range of a char data type in Java?

View More Related Question

2) Which of these literals can be contained in float data type variable?

3) What is the output of below code snippet?

  class A
{
}
enum Enums extends A
{
ABC, BCD, CDE, DEF;
}

4) What is the output of this program?

      class asciicodes {
public static void main(String args[])
{
char var1 = 'A';
char var2 = 'a';
System.out.println((int)var1 + " " + (int)var2);
}
}

5) Which of these coding types is used for data type characters in Java?

UP Gk Online Test

taiyari24hour.com

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