answersLogoWhite

0


Best Answer

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

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

To make the program more readable and easy to debug the problem.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why is it necessary to use indentation and space in java statement?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the ' ' called in java?

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


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 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 case in java?

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


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

int a;This simple Java statement declares an integer.


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.


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;...}


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.


Is an understanding of Java necessary in order to use Linux?

No.