Home   Info   DevZone   Wiki  
UsersWeb  |  MainWeb  |  InfoWeb  |  DevZoneWeb  |  SupportWeb
JavaClassFile ] [ not logged in ] [ Web: Imported ] goto:  options
[ get info on or edit ] login or new user ] [ list of topics, hubs & nodes, or recent changes ]

BytecodePages


The classfile (foo.class) is the binary JavaByteCode representation of an object in a java program. Each class definition in the source files:

public class Carnivore
{  
  eatMeat (int iFoodLeft)
  { 
	 iFoodLeft--; 
  }  
} 

results in a separate classfile:

c:jsh>ls

Carnivore.class

upon compilation:

c:jsh>javac Carnivore.java

Note: It is tremendously unlikely that code snippet would compile on it's own, and it is merely an example.


See also ClassFileFormat




Content of these pages are owned and copyrighted by the poster.
Hosted by: