Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET


Which of the following variable declaration would not compile in Java program?

A intVAR;
B intvar1;
C int 1_var;
D All are correct
Answer & Explanation
Option: [C]

It is illegal to declare a variable name by using integer in the start place.

Your Valuable Comments Please...

Useful Computer Science EBooks