comma in java variable

Java
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; 

Source

Also in Java: