answersLogoWhite

0

The Java compiler doesn't need this, and in fact doesn't care. It is important to improve the readibility of the program for human programmers. Even with correct indentation, interpreting a computer program can be confusing. Without proper indentation and spacing, it will be much, much worse.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

What advantage does Java's break statement have over C's break statement?

They do the same thing, but only the former can be used in a Java program.


What is the ' ' called in java?

' ' would be the character for a space in Java.


What does do in java?

You never write "do" seperately in Java. The only situation I can think of when you have to write "do" is in the "do while" statement. This is the syntax: do { statement(s) } while (expression);


What are semicolons used in java?

to end a statement


What is a simple java code and explain what the code does?

int a;This simple Java statement declares an integer.


What is case in java?

Case is used to label each branch in the switch statement in Java Program


What is the use of switch statement in java?

In java, a switch statement is used to simplify a long list of 'if' statements. A switch statement takes the form of:switch (variableName){case condition1; command1;case condition2; command2;...}


What three objects are necessary to create a GUI in Java?

A computer, keyboard and Java compiler.


Is it necessary to learn advanced java or core java knowledge is sufficient?

That depends on what you want to do.


Is it necessary to have java on a windows 7 computer?

No not necessary but extremely helpful for sure!


Is it necessary to learn advanced java for JSP?

It is a good to know item. It is not mandatory or necessary. Basic knowledge of core Java is enough to learn JSP and Servlets.


How can you use the "break" statement in Java to prematurely exit a "for" loop?

In Java, you can use the "break" statement within a "for" loop to exit the loop prematurely. When the "break" statement is encountered, the loop will immediately stop executing and the program will continue with the code after the loop.