This week's book giveaway is in the
Agile and other Processes
forum.
We're giving away four copies of
The Mikado Method
and have Ola Ellnestam and Daniel Brolund on-line!
See
this thread
for details.
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
Beginning Java
Author
Array initialization
Rizwan Qadri
Ranch Hand
Joined: May 28, 2007
Posts: 40
posted
Nov 01, 2007 08:01:00
0
Hi, all,
How can we initialize or use this array.
class ArrayTest
{
public static void main(
String
[] args)
{
int[][] values =new int[2][];
System.out.println(values[1]);
}
}
Output- null
I cant understand.
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8262
I like...
posted
Nov 01, 2007 08:44:00
0
Please don't post the
same question
more than once. It causes confusion and duplication of effort as the community tries to help everyone.
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[
How To Ask Questions On JavaRanch
]
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Array initialization
Similar Threads
Array Question
confusion on array
int[] foo = new int[]{1, 2, 3} What does it mean?
Array initialization
java passing variables by reference?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter