Building Parsers with Java

sjm.examples.cloning
Class CannotCloneWithoutCloneable

java.lang.Object
  |
  +--sjm.examples.cloning.CannotCloneWithoutCloneable

public class CannotCloneWithoutCloneable
extends java.lang.Object

This class will compile but not run, since the class does not implement Cloneable.


Constructor Summary
CannotCloneWithoutCloneable()
           
 
Method Summary
static void main(java.lang.String[] args)
          Just a demo, this will compile but not run.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CannotCloneWithoutCloneable

public CannotCloneWithoutCloneable()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Just a demo, this will compile but not run.

by Steve Metsker