Hi,

F.Y.I Java and C++ classes are quite similar with some exceptions:

- functions don't need to be prototyped in java

- java has 'automatic garbage collection', this means when we create a new object we don't need to call a ~destructor to free the memory occupied by the object, it is done automatically by the compiler. It does offer a finalize keyword which can be used like a destructor, but thats another ball game

- everything written in java must be encapsulated within {} preceeded by the name of the class



e.g:

class myclass
{
public static void main (String args[])
{

}


void myfunction(void)
{

}

}//end class myclass

Barry