Which of the variable declaration or initialization in Java is not allowed?

1
int a, b;
2
int a = 10, b = 20, c = 30;
3
int a, b = 20, c;
4
char a = 3;

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation