Rakesh Sahadevan

Greenhorn
+ Follow
since Jul 11, 2004
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 Rakesh Sahadevan

Hi
I am working in ISL. I jumped three firms[E&Y,MindTree,IBM] in my four year career.

This is my suggestion.

Good Things
1)Brand Name.
2)Sal increment high.
3)Greater learning oppertunities.
4)Highly motive
5)If you have caliber you can prove
6)You can invent[If you have ideas]

BadThings
1)No Onsite[Even if you get, you will get short term]
2)They may put you in Testing[IBM provides you an oppertunity to work in any field but you have to prove].
17 years ago
ya peter. you are correct.Actually its an interview question!!!
Yes. Is it a good idea? No. If you implement the (deprecated) SingleThreadModel, the container will create as many instances of the servlet as needed to handle the load. If you simply synchronize the service() method, you get just one instance, which might well become a bottleneck under high loads.
Thank u
19 years ago
IS it possible with CMP Beans? Its an interview question !!!
my answer is use BMP.Finally he told me its possible refer it!!!
How 1000 records are persisted at a time in CMP Entity Beans ?
Is it possible to replace SingleThreaded model with synchronized keyword in
service method?
19 years ago
1)System.out.println("SCJP" == "scjp".toUpperCase() ) will print false why?
5)String str = "SCJP";String str2 = "";
System.out.println(str == (str + str2).intern()); will print true why?;
6)String str = "SCJP";String str2 = ""; // There is no space between double quotes.
System.out.println(str == str + str2); print false why?
7)String str = "SCJP"; String str2 = str.concat(""); // There is no space between double quotes.
System.out.println(str == str2); will print true why?
8)int arr1[] = {1,2,3,4}; int arr2[] = {1,2,3,4};
System.out.println(arr1.equals(arr2)); will print false why?
9)String str1="Java"; System.out.println(str1 == "Ja"+"va");
will print true why?
10)String str1= "Ja"; String str2= "va"; String str3= "Java"; System.out.println(str3 == str1 + str2); will print false why?
11)Object strarr [] = {"Welcome",null};
Object strarr2 [] = {"Welcome",null};
System.out.println(strarr[1] == strarr2[1] );wiill print true and System.out.println(strarr[1].equals(strarr2[1]) ); will print flase why?

Oh sorry. Thank u Stoneds Brains
double d = 0x45876; why this doesnt shows no compile time error
congrats and thanks for your exp cheers from my end
I am also searching for this answer . I know If an uncaught exception is thrown by the finalize() method, the exception is ignored and
finalization of that object terminates.The finalize() method will be invoked only once in the lifetime of an object.I think Hunter view is correct
Hai
String x="abc";
String z = "ab";
z = z + "c";

if(x == z) System.out.println("x and z - same obj");
else System.out.println("x and z - different obj");

As, x and z are different objects allocated in memory, if you compare them with == operator, the compiler compares the two memory locations. For this you have to check this one also

String a="abc";
String b = "abc";
if(a ==b ) System.out.println("a and b - same obj");
else System.out.println("a and b - different obj");