answersLogoWhite

0

Simply, the error that your compiler catches is called compiler error.

Doesn't matter if you are in Eclipse, NetBeans or Intellij IDEA, all these IDE's are very smart. They can detect if you made any any mistakes in your program.

Common compiler errors are-

-When you try and access a variable that is out of scope

-When you forget to give a semicolon.

-When you will try to use a reserved keyword like - return.

-Any syntax error that your compiler might find suspicious, will cause compiler to throw an error.

User Avatar

Wiki User

9y ago

What else can I help you with?

Related Questions

What happen if you declare class as recursive?

It will get a compiler error in Java.


What is the best compiler can be used to create Java programs?

A Java compiler.


What does the Java compiler translate Java source code to?

The Java compiler translates Java source code to Java byte code.


What is java program made of?

basic unit of C is structure like procedure ,syntax's, error's compiler etc


What does the java program error expected public class MathPow.java mean?

The error "expected public class MathPow.java" typically indicates that the Java compiler is expecting a public class declaration in the file named MathPow.java. In Java, the filename must match the public class name defined within the file. If the class is not declared as public or if the filename does not correspond to the class name, the compiler will throw this error. To fix it, ensure that the class is declared as public and that the filename matches the class name exactly.


What is the difference between java compiler and C compiler?

Greetings Technologist. The Java compiler compiles Java code, whereas the C compiler compiles C Code HTH Richard Wolf Software Architect


Is the Java compiler 16bit or 32bit?

The Java compiler itself (javac) is a 32-bit application.


When java uses compiler?

What i know is java we will use compiler when it want to get class file(file with .class extension) from java file(file with .java extension).


Does Java Script use the same compiler as Java?

No


Is JVM is part of compiler?

no jvm is not a part of java compiler


What is the compiler for java?

javac.


What is the name of java compiler?

It is simply called the Java compiler. The actual program is usually called Javac.