Thursday, November 29, 2007

Peer Classes

A friend of mine was asked recently in an interview, "What are peer classes?". I decided to find out what a peer class is.

For example if you desire to use a c++ class code in a java program, an approach of doing this is creating a java class which is equivalent to the c++ class. The java class is the peer class and tracks the state of the c++ object.

You can see this here

No comments: