answersLogoWhite

0

Extension file for Java

Updated: 8/10/2023
User Avatar

Wiki User

15y ago

Best Answer

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

User Avatar

Wiki User

15y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

.java after compiling u will get .class file and both r required for running the code

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

Compiled .class

Source .java

This answer is:
User Avatar

User Avatar

Jacqueline Chamwaza

Lvl 2
9mo ago

Java

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

.class

This answer is:
User Avatar

User Avatar

Wiki User

10y ago

.class

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Extension file for Java
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

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).


How do you save a notepad file into a java file?

just add an extension .java when you save your notepad text 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


Where to write javafie?

we use notepad and netbeans for java file.save file with .java extension


What is the file extension of an applet?

An applet is a Java application, this saves files in a .class extension


Do you have type a file extension if you want to include the file name?

No, you do not have to type the file extension if you want to include the file name. You only use file extension to make the specific file be able to be run by the program. Example: I want to make my file into a java program so i can use with a specific type of program which only runs java file i put .jav at the end of the title to make it from a text file to a java file.


What is the extension of a java byte code file?

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


How you make a project in java?

You create a text file with a .java extension. Then you put a proper class definition.


The name of a Java program file must match the name of the class with the extension java A True B False?

True


Files containing Java code must end with what extension?

They end with an extension .java Test.java would be a java source file. The contents of Test.java could be package xyz; import java.util.*; public class Test { ... ... .. . . }


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 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 .