Comma in java why code example
Example: comma in java variable
int index = -1, i;//What is this type of declaration
// Nothing but
int index = -1
int i;
String s = "hi",stri; //What is this type of declaration
// Nothing but
String s = "hi";
String stri;