Sorry, I am new to Java! I have a question regarding using multiple if statements in a loop like a while. I will make clear my question through an example. if condition 1 is wrong, how can we switch to the while again( without processing other conditions)?
public static void main(String[] args) {
// TODO Auto-generated method stub
while(){
if(condition1){
if(condition2){
if(condition3){
}
}