English, asked by Sathya001, 9 months ago

Every java statement must not end with a semicolon

Answers

Answered by Anonymous
3

Answer:

Data science is an inter-disciplinary field that uses scientific methods, processes, algorithms and systems to extract knowledge and insights from many structural and unstructured data. Data science is related to data mining, machine learning and big data.

Explanation:

Answered by minasharmaminaedu
0

Answer: The fundamental rule of Java is that every statement must end with a semicolon.

Explanation:

The fundamental rule of Java is that every statement must end with a semicolon.

However, practically all statements in Java may be thought of as expressions, unlike other languages.

There are a few circumstances, nevertheless, in which we can create a working programme without semicolons.

We can omit the semicolon at the end if we enclose the statement in an if/for statement with a blank set of parentheses.

Additionally, since void functions are not expressions, invoking one that returns void will not work in this situation.

Methods:

utilising if-else clauses

Using the StringBuilder class's add() function

Using the String class's equals function

Nevertheless, each class must have a body, which is composed of one or more statements.

#SPJ2

Similar questions
Math, 4 months ago