Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
Apu Virtanen
Greenhorn
+ Follow
news
2
Posts
2
Threads
since Nov 20, 2005
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads
Recent posts by Apu Virtanen
Multidimensional array copy
Could someone explain this and tell me what is the right way to clone a multidimensional array:
class test { public static void main(String[] args) { int[][] a = { {0} }; method(a.clone()); System.out.println(a[0][0]); } public static void method(int[][] b) { b[0][0] = -1; } }
Output: -1
show more
19 years ago
Java in General
Passive browser
How does an applet notice if the browser becomes passive (i.e. it doesn't have the focus in the operating system)?
show more
19 years ago
Applets