answersLogoWhite

0

What is the format of java file?

User Avatar

Anonymous

13y ago
Updated: 8/20/2019

Class Ram

{

static {} //static block to execute something before main method

Ram() //constructor

{}

{} //init block

public static void main(String ss[])

{

}

other methods

}

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What is file format exception in java?

A very complicated thing...which nobody has answered yet.


How do you convert text file to jar file?

You can change the file extension from .txt to .jar but .jar is a java format and is not normally used to wrap text.


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


Is the MOV file format the same as the MP4 file format?

No, the MOV file format is not the same as the MP4 file format.


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.


Can you write java program in Microsoft Word?

Since the Java program is basically a text file, you can write it in any text editor (although using a Java IDE, or an IDE with support for Java, does give you certain advantages). Thus, you can use programs such as NotePad or NotePad++ to write the Java program. Using word processors such as MS-Word is problematic, because these insert additional codes. You would have to make sure you save the resulting file in the text format - give the "Save As" command, and choose a text format from the list.


What type of file is created by Java?

Java created a file called class, and is identified by having the .class at the end. This file includes a Java bytecode, which then can be used on the Java Virtual Machine.


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

just add an extension .java when you save your notepad text file


What are the jar files in servlets?

The Java Archive (JAR) file format enables you to bundle multiple files into a single archive file and Typically a JAR file contains the class files and auxiliary resources associated with applets and applications


What is JFM in Java and what is the use of it?

jFM is a java file manager. It is used to access the file system.


What is java class file?

That's the compiled Java file, the one that can be distributed to the end-users.


How class file is created in java?

A class file is a compiled .java file and cannot be executed without jdk or java. They are often executed with .bat files in windows for convenience