由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - clone() question
相关主题
Is there a way to pass by value in Java?[合集] 问一下这个cast在java里是怎么work的
git clones only one branch?[合集] 谁能解释一下这里的protected specifier
说说clone咋违反了类继承的原则来的?JAMWiki, anyone used it?
any clone of netbeans of look&feel?传递一个object reference,如何防止更改object?
怎样才能使一个算法用于不同的数据结构?Java复制object
Why Java needs clone interface?请教: class private data member
copy constructor都什么时候be called啊one java question
immutable list用java访问数据库
相关话题的讨论汇总
话题: int话题: question话题: clone话题: def话题: my
进入Java版参与讨论
1 (共1页)
c*****t
发帖数: 1879
1
int[][] abc = int[3][5];
int[][] def = (int[][])abc.clone ();
My question is that does def contains the reference of rows of abcs
or it's a complete duplication? It seems to me the first one is the
case, but want to make sure.
1 (共1页)
进入Java版参与讨论
相关主题
用java访问数据库怎样才能使一个算法用于不同的数据结构?
About TreeMap in JavaWhy Java needs clone interface?
interview questioncopy constructor都什么时候be called啊
一个event model的概念级的问题immutable list
Is there a way to pass by value in Java?[合集] 问一下这个cast在java里是怎么work的
git clones only one branch?[合集] 谁能解释一下这里的protected specifier
说说clone咋违反了类继承的原则来的?JAMWiki, anyone used it?
any clone of netbeans of look&feel?传递一个object reference,如何防止更改object?
相关话题的讨论汇总
话题: int话题: question话题: clone话题: def话题: my