Hello David,
When I try to compile your code it is showing two errors.
1 - as you have commented.
2 - as follows
B b = new B();
B bClone = (B) b.clone(); // ok, C is subclass of B
error-> ^clone() has protected access in Object class.
This error is really bothering me.I've also tried following declaration
class B implements Cloneable { }
for class B but still it does nothing.
Same thing i have been trying since from my first example.
please reply me soon about this error.
And thank you very much David for such a good explanation of Multi-Dim array question and helping me to learn about this Clone()
Thanks