« first day (3025 days earlier)      last day (1077 days later) » 

1:17 AM
For some interesting python codes visit rdpythoncds.blogspot.com
 
 
3 hours later…
 
1 hour later…
 
2 hours later…
 
1 hour later…
 
2 hours later…
 
2 hours later…
 
4 hours later…
 
3 hours later…
 
1 hour later…
8:38 PM
Consider the following Java code extract, which contains one compilation error

related to scope:



1 /**
2 * Initialise a one dimensional array with numbers 1,2,3...
3 *
4 * u/param ar = the array to initialise
5 * u/return the last number assigned to the array + 1
6 */
7 public static int init(int[] ar)
8 {
9 int c = 1;
10
11 int i;
12 for(i = 0; i < ar.length; i++ )
13 {
14 initCell(ar, c);
15 c++;
16 }
17
18 return c;
19 }
20
21 public static void initCell(int[] ar, int c)
 
@compLearner Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
how many lifetimes does i have?
whilst main is executing
 

« first day (3025 days earlier)      last day (1077 days later) »