I have written a class A such as following
class A <E> { // class A has objects of E
int x;
private B<T> next // a object of inner class
class B<T> {
// an inner class having objects of type T
T[] elements = (T[]) Object[x];
// has other stuff including many objects
}
public A<E> func ( B<E> val ){
Here I want to clone the value of val so that I can do different operations on other
}
The problem comes that I wish to write B<E> Temp = B<E>Value.clone()
where Value is defined in the code.
but it says that clone is not visible.
What should I do to make it so....
Thanks a lot...