我有這樣一個問題:是否有可能一些如何從一個對象「提取」超類到新對象?我會展示我的意思。 public class test {
public static void main(String[] args) {
subclass sb = new subclass(false);
System.out.println(sb.a);
System.out.printl
/**
* Throws CloneNotSupportedException as a Thread can not be meaningfully
* cloned. Construct a new Thread instead.
*
* @throws CloneNotSupportedException
* always
*/
@Override
protected O