answersLogoWhite

0

No it will not. Any java source file that has syntax errors will not be translated fully. The compiler will spit out errors based on the syntax problems in your code.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What program is the program that contains the language instructions or code to be converted?

There is no such thing: compiler translates but doesn't execute; interpreter executes, but doesn't translate.


What is a C compiler as used in C programming?

In C programming, C compiler is user to translate C source into C object module.


What are the drawbacks to c compiler?

It cannot automatically correct the errors of the source program.


What does the Java compiler translate Java source code to?

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


Are programs that translate the source code to object code?

False. A compiler converts source code into object code.


What translator is needed for C programming language?

To translate the C source code program, you need a program called a "C compiler".


What is used to translate source code instructions into appropriate machine language instructions?

Languages are either "Compiled languages" or "interpreted languages": - A compiled language will use a compiler which is another program that checks your code and then converts it to the correct machine code for the machine it is intended to run on. You can only run the program after you have compiled it. A compiler can help spot syntax errors and certain semantic errors and will give you a "compilation error". - An Interpreted language can be ran directly as long as you have another program called the interpreter which translates your code into machine code whilst it is running. This means certain errors will not be caught before runtime (There is no concept of a compilation error) and so you won't know until runtime if certain errors are present in your code


What are the purpose of compilers?

When writing a program, you write it in a certain language (java, C++, VB.NET etc.). For the computer to understand that, you need to convert it to computer language. That is what the compiler does.


What is the difference between a native compiler and a cross compiler?

A native compiler is one that compiles programs for the same architecture or operating system that it is running on. For instance, a compiler running on an x86 processor and creating x86 binaries. A cross-compiler is one that compiles binaries for architectures other than its own, such as compiling SPARC binaries on a PowerPC processor.A cross compiler executes in one environment and generates code for another. A "native compiler" generates code for its own execution environment. For example, Microsoft Visual Studio includes a native compiler. It is used on the Windows platform to create applications that are run on the windows platform. A cross compiler could also execute on the Windows operating system, but possibly generate code aimed at a different platform. Many embedded devices, such as mobile phones or wasching machines, are programed in such way. Compilers generating cross-platform hyper code such as compilers for Java or any of the .NET languages fall somewhere in between these two basic compiler categories. Their nature depends on the exact use-case, and the angle under which you look at those when categorizing.


What are the similarities between compiler and interpreter?

Both compiler and interpreter are the language programs that translates source program into machine code or we can say object code. Both are used to find errors in source program.


How do you compile a file in C?

First you need to create a text file containing the source code written in the C language. Then, you call the compiler to check the syntax of your source code and translate it into machine code. The exact means of calling the compiler depends on the operating system you are using and the vendor of the C compiler. For example, in some Unix systems the C compiler may be called as: cc CC xlC xlC_r aCC gcc and others ...


What is a compiler and an interpreter?

a compiler translates an entire program and then executes it while an interpreter translates and executes one line of a program at time