can you convert a FOR loop into a WHILE loop?

pls can you give me an example to explain this and are there advantages of using for loops over while loops?
[115 byte] By [fairydusta] at [2007-11-27 2:13:10]
# 1
Why do you need to know?
DrLaszloJamfa at 2007-7-12 2:08:23 > top of Java-index,Java Essentials,Java Programming...
# 2

for(int i=1; i<=10; i++)

{

System.out.println(i);

}

/* */

int i = 1;

while(i <= 10)

{

System.out.println(i++);

}

CaptainMorgan08a at 2007-7-12 2:08:23 > top of Java-index,Java Essentials,Java Programming...