Ganesh Narayanan

Greenhorn
+ Follow
since Jan 29, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ganesh Narayanan

The assignment Operator is an exception for arrays.
In this case i value in array[i++] gets incremented after the assignment operator i=6 now.
next ++i of the expression gets incremented (value is 7 ) now.
then i++ which is ( 7+7 )
The result is 14.
Think a bit ul find it logical
Frank Carver
That was beautifully explained
Thanx a lot
Wishes
Ganesh
On the first 2 cases the final variables are initialized in the constructor.

When u increment the final variable in f1.finals() -->error fires.
SINCE final variables value cannot change..
For accessing the members of class A you must have
1. A instance of class A
2. U must extends class A
If any one of this is implemented you can access the public variables.
Hey the Object c is being returned,So it will have to use hello
ie object a, So can a be garbage collect after line 5 ?

Best Wishes
Ganesh
Please forward it to me too guys
Mail id is ganzy@rediffmail.com
Best wishes for all those appearing for the jcp
Ganesh
Only line 7 of the code is unreached,since it has reached the finally block.
But the return value at the end of the function is required since the return type for the method is specified otherwise it fires an eroor