0

Assuming a one dimensional integer array a[] has been declared and created with 100 elements:

for (int i = 0; i<=a.length; i++);
a = 5;

Assuming int b [] [] = new int [3] [3];
b[1, 1] = 5;

Strings students[] = {Pat, Tom, Mary, Anne};

3
Contributors
4
Replies
5
Views
8 Years
Discussion Span
Last Post by javaAddict
0

Assuming a one dimensional integer array a[] has been declared and created with 100 elements:

for (int i = 0; i<=a.length; i++);
a = 5;

Assuming int b [] [] = new int [3] [3];
b[1, 1] = 5;

Strings students[] = {Pat, Tom, Mary, Anne};

Where you the one who down voted masijade? For what, for telling the forum rules?
When you registered, you must have read and accepted the rules, and know that what you asked is against them.

If you have questions post them, but what you asked is for us to do your homework. Post what you think and we will correct you or give you enough explanations in order to understand and find the solution.


PS: To masijade: You got Down-Voted for your previous post and I Up-Voted. You see now why I don't like this anonymous with no explanation providing voting system. Hope I don't get down voted as well :)

Edited by javaAddict: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.