Question: hi guys!! i have a question regarding my java programming class that I need an explanation for without an example. Just in your own words

hi guys!!
i have a question regarding my java programming class that I need an explanation for without an example. Just in your own words an answer for these questions
"why would you use a nested if statement instead of an if else? when is that useful?"
"when should you use a while loop vs a for loop? are there any situatik s when one is better than the other?"
"How would you access the 2nd to last statement in an array? how coukd tou do this no matter what length the array is?"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!