answersLogoWhite

0


Best Answer

The Java.io.File class is an abstract representation of file and directory pathnames. Following are the important points about File:

  • Instances may or may not denote an actual file-system object such as a file or a directory. If it does denote such an object then that object resides in a partition. A partition is an operating system-specific portion of storage for a file system.

  • A file system may implement restrictions to certain operations on the actual file-system object, such as reading, writing, and executing. These restrictions are collectively known as access permissions.

  • Instances of the File class are immutable; that is, once created, the abstract pathname represented by a File object will never change.

User Avatar

Wiki User

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

Wiki User

15y ago

JAR stands for Java Archive File

It is nothing but an archive of Java class files. You can compare the jar file to a zip file which would compress and contain multiple document files.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is a jar file in java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is jar file?

Jar file is Java AR-chive Java Archive File, commonly referred to as a Jar File is nothing more than a compressed archive file.


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.


How do you use jar file in java?

JAR stands for JAVA Archive File. You can archive a number of java class files into an archive and form a JAR. If you place the JAR in a particular location in the computer and then add the path to the JVM Class path, the JVM will be able to recognize references to classes that are present in the JAR.


Why doesn't my jar folder works?

Depends on what you mean by "work". For one thing, a jar is a Java archive file, not a folder.


Why does java does not run on Linux?

the short answer is that it does. assuming you have java installed and your path set, it's as easy as javac javafilename.java java javafilename or if you have it as a jar file java -jar jarfilename.jar


How java program can run in windows7?

You must have a java runtime environment (JRE) installed to run a jar file .. if it is not a jar ( or it is a class ), you should have the java development kit or JDK .. if the file you are running is a jar file, just double click it. if the file you are running is a class file ex. "MainProg.class" then go to the bin directory, and open command prompt and change to that directory. then java MainProg.class it should run ..


Sis to jar converter?

SIS files are Symbian and JAR files are java. The software that converts a SIS file to a JAR file is called Sis to Jar Converter 1.7.7.2.


What is the default program to open a jar file to execute a program?

You can open jar files with command prompt, Winrar or java.


What is contain inside the jar file?

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


How do you convert jar file to sis?

this conversion is not possible because sis is a symbian file(another operating system that is mainly used by nokia) & jar is java file both are not same


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


How do you run jar file on computer?

you can play the jar files by transfer it in to nokia mobile phones