Difference in size of .java & its respective .class file

Ads
 

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. Could anyone suggest the reason. Thanks in advance.

~Naveen

View Answers

Ads









Related Tutorials/Questions & Answers:
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
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
Advertisements
Java Class Size
Java Class Size  How to determine size of java class
what is the size of java class
what is the size of java class  Could anyone tell me how to find the size of the class given below. public class Sample { private int x; private int y; private char ch; public static void main(String[] args) { Sample
In Java how to get size of class and object?
In Java how to get size of class and object?  In Java how to get size of class and object
In Java how to get size of class and object?
In Java how to get size of class and object?  In Java how to get size of class and object
Java class file
Java class file  How do i open a java class file using eclipse
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
track file size changes
track file size changes  How to track a change in file size
difference between enum and final class?
difference between enum and final class?  what is the difference between enum and final class in java?   The java.lang.Enum is an abstract class, it is the common base class of all Java language enumeration types
class file
class file  How to create class file in jsf easily
class file
class file  how to convert java classfile into java sourcefile
maximum size of arraylist - java
? 4.how many access specifier and how many access modifier in java? 5.what is difference b/w abstract class and interface? 6.which is best b/w abstract class...maximum size of arraylist - java  1.what is the maximum size
Difference between abstract class and an interface
in java. Third difference is that abstract class begin with the abstract...Difference between abstract class and an interface The difference between... between abstract class and interface in java. Abstract class is a class
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
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
difference between servletconfig and servletcontext in java
difference between servletconfig and servletcontext in java  difference between servletconfig and servletcontext in java   ServletContext... to communicate with its servlet container, for example, to get the MIME type of a 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 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
Random Access File class
Random Access File class  Write a short note on Random Access File class.   Please visit the following link: Java Random Access File
what is the difference in java and j2ee
what is the difference in java and j2ee  Hi, Please tell me: 1. What is the difference between Java and Core Java and 2. Difference between Java and J2EE
write a program to demonstrate wrapper class and its methods......
write a program to demonstrate wrapper class and its methods......  write a program to demonstrate wrapper class and its methods
How to calculate Date Difference in Java?
How to calculate Date Difference in Java?  Hi, I have two dates variable. How to calculate Date Difference in Java? Thanks   Hi, You can use the Calendar class for calculating the date difference in Java. Get data
about the base class of file
about the base class of file  what is the basic class of file
how to check the size of a tar file in linux
how to check the size of a tar file in linux  Hi, I want to check the size of tar file in Linux. How to check the size of a tar file in linux? What Linux command I should use to check the size of a tar file? Thanks
Example of Hashset size() method in java.
Example of Hashset size() method in java. The size() is a method of HashSet class. It is used to calculte the size of HashSet. The size of method... class SizeOfHashSet { public static void main(String[] arg) { HashSet
Java IO File
Java IO File In this section we will discuss about the File class in Java... can also create a File to store the data. To create file in Java a class named... of this class a Java programmer can create a new file. File.createNewFile() method
Video Tutorial of reading file in Java
Java Video Tutorial: Learn how you can read a big text file in Java? Java... a text file of any size say 10GB and then print the data line by line... the source code of reading a text file in Java. This source code can be run in Eclipse
difference between servletconfig and servletcontext in java
difference between servletconfig and servletcontext in java  ... servlet to communicate with its servlet container, for example, to get the MIME type of a file, to get dispatch requests, or to write to a log file.   
How a split a file into many based on size?
How a split a file into many based on size?  Consider a text file which has a size of 400 bytes, i need to split up the contents in that 400 bytes file into 100 bytes of separate files.So there should be totally 4 files should
difference
difference    what is the difference between the JDBC-ODBC bridge, the Native-API-Partly-Java driver, and the JDBC-Net-All-Java Driver...: JDBC and its types
How to Increase Upload File Size Limit in php
How to Increase Upload File Size Limit in php  Increase Upload File.... But the default file upload size settings restrict you to upload large files. PHP default setting allowed only 2MB file upload size. So if you want to upload

Ads