why java file save as its class name

Ads
 

why java file save as its class name

hi,this is subbareddy vajrala.my doubt is why java files save as its class names?

View Answers

February 13, 2013 at 5:19 PM

Hi,

I java source code file is save with the extenstion of .java

When you compile the file with java compiler it will creates the byte code from the source code and it is saved as .class file.

See the tutorial Java Compiler,Java Compiler Example.

Thanks

Ads









Related Tutorials/Questions & Answers:
why java file save as its class name
why java file save as its class name  hi,this is subbareddy vajrala.my doubt is why java files save as its class names
Difference in size of .java & its respective .class file
Difference in size of .java & its respective .class file  Hai, I had created & compiled a java class named sample.java. The size of sample.java is 340KB. Whereas the size of its respective class file sample.class is 137KB
Advertisements
Java class file
Java class file  How do i open a java class file using eclipse
why we use abstract class in java?
why we use abstract class in java?  what is the the purpose of abstract class.Give example when to use abstract and when use interface
How to download and save a file from Internet using Java?
How to download and save a file from Internet using Java?  How to download and save a file from Internet using Java
Why does Java provide both abstract class as well as interface
Why does Java provide both abstract class as well as interface  why does java have both abstract class as well as interface? what is the need or importance of having both
for writting java program why we are taking more than one class
for writting java program why we are taking more than one class  for writting java program only one class is enough but why we are taking more than one class
I want to know the given class name exists in which jar file?
I want to know the given class name exists in which jar file?   I want to know the given class name exists in which jar file? C:\Program Files\IBM... the name of the jar file where 'com.rational.ft.util.debug' class exists
class name
class name  what is the class name of circle.java   how do i complie my jdk file, what happen s if i put in the correct commands and it still does not complie, what do i do next
how to use StringTokenizer to retrieve the class name, attributes name and methods name from the Java Source Code
how to use StringTokenizer to retrieve the class name, attributes name and methods name from the Java Source Code  hi, I have done a program whereby it can read a Java file and then tokenize them into tokens. However, I am facing
core java
core java  its compulsory to save file name and class name is same in java
Java Jar File
Java Jar File       In Java, JAR (Java ARchive) is a platform-independent file format that allows you to bundle a Java applet and its requisite components (.class files, images
class name
class name  how to create a class named box thaT INCLUDES integer data fields for length,width,and height, include three contructors that require one,two,three arguments
Why Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
Why Abstract Class?
Why Abstract Class?  What is the use of Abstract Class if it has Zero Abstract methods
upload and save the file
upload and save the file  upload and save a file from a computer to specific location of remote computer using jsp
How can I open my Java desktop app by clicking on its file?
How can I open my Java desktop app by clicking on its file?  How can I open my Java desktop app by clicking on the file it creates? This app creates files when selecting its "Save as" option with an extension specificaly defined
class file
class file  How to create class file in jsf easily
Why bufferedreader is used in java?
Why bufferedreader is used in java?  Hi, What is the use of BufferedReader class in Java? why bufferedreader is used in java? It will be great if anyone can give me the example code of BufferedReader class in java. Thanks
class file
class file  how to convert java classfile into java sourcefile
Record and Save Video using Java
Record and Save Video using Java  How to record video(webcam) and save it using Java.?? Its really urgent
Logger in Java
into the log file. The name of Logger are dot-separated and should be the package name or class name. getLogger factory method provides the object of Logger... understand the java logging and its implementation in the java program. Java has
how to call java script function through java class file
how to call java script function through java class file  how to call jframe in java script
Text field save as word file
Text field save as word file  Dear experts At run how to save set of text field contains text into single Word file. To save in our desktop computer. Solve my problem
file class
file class  Hi Friend, I have a file class it lets me extract all the data from a csv file but I need to align the data properely, seperating... java.util.*; public class ReadCSV{ public ReadCSV (){ } public static
save the uploading image with user specified name
want to save the uploaded image in a folder with user specfied name that is with the name that is given in the textbox.please help me...save the uploading image with user specified name  My form consists
save the uploading image with user specified name
want to save the uploaded image in a folder with user specfied name that is with the name that is given in the textbox.please help me...save the uploading image with user specified name  My form consists
How to save file in vi editor?
:w to save the file Type :wq to save and quit Type :q! to quit without saving...How to save file in vi editor?  Hi, I am trying to find commands to save the file in the vi editor? Can anyone show me the example and explain me
save excel file with save and open dilog box
save excel file with save and open dilog box  following is my jsp code it is working correct.. i want to save excel file throgh jsp bt not by hard...");) user should have freedom to save the file in any location so plz give me
Stoting file name in Map
Stoting file name in Map  how to store id and file name in map
Why is super.super.method(); not allowed in Java?
Why is super.super.method(); not allowed in Java?  Why is super.super.method(); not allowed in Java

Ads