No. (Of course you should specify what compiler you are talking about.)
Java compiler available on multiple platforms, the class files it generates are platform-independent.
Java is a platform independent language.After compiling the ".java" file ,that will be converting into the ".class" file,which is a byte code having the capability run on any OS.Basing on the concept byte code java achieving the platform independent,it leads to "Write once run anywhere".
A cross-platform compiler can compile applications for multiple platforms, such as Windows, Linux, and Mac. An open-source cross-platform compiler is GCC (the GNU C Compiler). A cross-platform compiler uses a language that can be compiled on to multiple targets, such as C, C++, or haxe. It is required to compile the same source code multiple times, one for each target platform; a program such as make can be used to reduce the number of commands the user actually executes to just a single command.
gcc is the most common C-compiler for GNU/Linux platform.
platform-dependent
Java compiler available on multiple platforms, the class files it generates are platform-independent.
Platform independent language means once compiled you can execute the program on any platform (OS). Java is platform independent. Because the Java compiler converts the source code to bytecode, which is Intermidiate Language. Bytecode can be executed on any platform (OS) using JVM( Java Virtual Machine).
Java is a platform independent language.After compiling the ".java" file ,that will be converting into the ".class" file,which is a byte code having the capability run on any OS.Basing on the concept byte code java achieving the platform independent,it leads to "Write once run anywhere".
java is platform independent because java code is compile on javac compiler after create one class file this file is run any of paltform run this code becauase jvm is understand this code properly managed. jatin patel
A cross-platform compiler can compile applications for multiple platforms, such as Windows, Linux, and Mac. An open-source cross-platform compiler is GCC (the GNU C Compiler). A cross-platform compiler uses a language that can be compiled on to multiple targets, such as C, C++, or haxe. It is required to compile the same source code multiple times, one for each target platform; a program such as make can be used to reduce the number of commands the user actually executes to just a single command.
gcc is the most common C-compiler for GNU/Linux platform.
IS Seq file also platform independent or dependent?
platform-dependent
Oh, dude, let me break it down for you. C is a platform-independent language because it can be compiled and run on different operating systems like Windows, macOS, and Linux. So, like, you can write your C code once and run it on various platforms without having to worry about compatibility issues. It's pretty chill like that.
Yes. no .net is not platform independent is supports on OS .... as is need clr for Linux to support it but till now .net platform is not independent ...
No, they must be designed for specific platforms. The compiled programs are platform-independent.
Java is a platform independent language and hence the code written in/for windows can be run without much rework in Unix or Mac. The compiler takes the source code a byte code is created after compilation. This bite code can be interpreted by any JVM and this gives java its platform independence. Hence it is preferred for cross-platform apps.