Win a copy of Head First Android this week in the Android forum!

Sanyev Babu

Ranch Hand
+ Follow
since Dec 18, 2003
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 Sanyev Babu

In Sasken only very few teams work on latest technology in telecom domain. Most of the teams work on maintenance projects. You can say 80% on maintenance projects. Onsite chances are very less in Sasken. If you are very particular in joining a Telecom company you can join Sasken. Otherwise go for CGI.
15 years ago
i just wanted to inform everyone
16 years ago
There is a programming contest going on now, conducted by Azeatec Systems. It has attractive prizes also. You can compete using java,c,c++ or c#. Register and take a look. Click Here
16 years ago
That depends on the area of intrest and your work. If you are working in core java then Developer certification is ideal. If you are working in jsp/ejb then SCWCD/SCBCD will be better. Anyway good luck for your preparation.
This Link would be helpful to you.
Congrats Kevin,
Good Work...
What's your score???
17 years ago
Congrats Ramakrishnan,
Great Score...
17 years ago
Congrats Jorge,
Great score.
was it the 1.3 or 1.4 exam?
17 years ago
Congrats Adu Ning,
Great Score...
17 years ago
Congrats Shravan,
Great Score...
17 years ago
Congrats Tushar...
Good going...
17 years ago
Hi Kaushal,


String x = new String[] {"aaa","bbb","ccc","ddd","eee"} [4];



This statement is perfectly legal. Here you are creating an anonymous String array object with 5 elements and you are selecting the 5th element and assigning it to the string variable x. So after execution of this line the String variable x will be having the value eee.

After execution of this line the anonymous string array object will be eligible for garbage collection.


String x = new String[] {"aaa","bbb","ccc","ddd","eee"} [5];


Here the syntax is legal but you are trying to access the sixth element of an array which has only 5 elements. So this causes runtime error.

Hope you are clear.

Sanyev
[ July 26, 2004: Message edited by: Sanyev Babu ]


void finalTest() {
System.out.println( "Hello Constructor" );
}



This is not a constructor. Constructors don't have any return type. If you put a return type then it becomes a normal method. So the the code above is a method. Since this class dosn't have a default constructor, the compiler creates a default constructor.

System.out.println( new finalTest() );


Here you have put new keyword inside a print method. You have to remember that when you create an object it returns a reference to that object. In this case you have given it in a print method, so it prints the referrence variable. So what appears as junk is actually a referrence.

Hope its clear

Sanyev