while (rs.next())
{
System.out.println("Name: "+rs.getString(1)+"\n");
System.out.println("Age: "+rs.getInt(2)+"\n");
System.out.println("Address: "+rs.getString(3)+"\n");
}
I just don't understand what is the meaning og getString(1)