answersLogoWhite

0

'.java' files contain java source code. One can access these files on windows by using 'notepad'.

User Avatar

Wiki User

15y ago

What else can I help you with?

Related Questions

Where does bytecode come from java?

It is created by the Java compiler, based on the source code (the .java file).


Differencitate between source code and bytcode in java?

The source code is just the set of statements written in (any included) java language by a programer (in this case our source code is a text file with .java extension). And in other hand a bytecode is the resulting code of compile a .java file, It is not machine code, but it can be interpreted and executed by the jvm.


What is java file in java?

A java file contains the code you write. One java file contains one class so for example when I want to make a class called Person, the source code is saved in Person.java


What is the difference between exe and class files?

in .exe file it contains machine understandable code. but in .class file it contain only byte code which is not understadable by the microprocessor it will understud by the jvm only . we con't execute .class file without jvm . but we can execute .exe file without c-compiler .


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


Can a .java file contain more than one java classes?

Yes, it can. However, there can only be one public class per .java file, as public classes must have the same name as the source file.


It is not an error not to end a Java file name with the java extension?

If you want to compile a java program the name of that source code must end with extension .java


How do you make a java class?

You write the source code, in a text editor, or better in a special IDE. The source code should have the extension ".java". You can have several classes in the same file. Then you compile the class to bytecode; this creates a file with extension ".class".


What is contain inside the jar file?

.jar files contain byte-code compiled to run on the Java Virtual Machine.


What is the extension of a java byte code file?

.class is the extension of a java byte code file.


Why there are two numbers of classes in java class programmes?

A Java source code file can contain any number of classes. However, only one one of them can contain the main method which is called upon execution after compilation of the source code. However, this is a bad practice that needs to be avoided. Generally, one of those classes is the actual class while the other is a test class.


In java what is an application?

An application is a compiled batch of source code, usually in the form of an executable or JAR file.


Will the java compiler translate a source file that contains syntax errors?

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.


Any algo is used for converting class file to java source file?

You need a decompiler to convert class files to java source files. JAD is a Java Decompiler that can do it for you.


What is the java file in java?

The java file has the actual JAVA code present in it,..i.e the entire coding is done in that file.. you can view it using any text editor.. After compiling it you get a class file of every class present in the java file When you open a class file in a text editor, you won't see anything that makes sence. You won't find the original code that you wrote in the java file. That is because a class file is a product of the compilation of a java file.


Jsp file is text or xml based document?

A JSP file is a text based document with a .jsp extension. The file can contain HTML content, Java code and other text.


Where does source code come from in java?

Source code comes from the programmer...


What does the Java compiler translate Java source code to?

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


How many editor in which you can create java source code?

Java source code is a plain text file, so you can use practically any editor, for example NotePad (included in Windows) or better programs such as the freeware NotePad++. However, it is usually more convenient to use the editor included in an IDE that has support for Java.


What are tools or software that are needed to editcompile and run to java?

To edit Java source code you can use any text editor. In order to compile a Java source file to Java bytecode you need the Java Development Kit (JDK). The program which does this is called "javac" and can produce .class files which can be used by the Java Runtime Environment (JRE) to execute.