Suddewar Ramulu

Greenhorn
+ Follow
since Aug 18, 2011
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 Suddewar Ramulu

Thanks Jeanne Boyarsky,

I gone through SCEA FAQ and I got the answer.


Thanks
Rams

Hi Every one,

I am facing the problem with instanceof operator. Actually I want to check an object for instance of more than 20 classes.
Please could you let me know is there any short cut to write this logic in loop.

here is the code example.


if(obj instanceof Class1){

} else if(obj instanceof Class2){

} else if(obj instanceof Class3){

}.... and so on.


Sorry, the example code was wrong

the actual requirement will be as follows.


if(obj instanceof Class1 || obj instanceof Class2 || obj instanceof Class3 || ...){

//doing some thing.

}


Thanks
Rams











Thanks
Rams




7 years ago
Hi,

I want write SCEA exam. If any body know about the exam please let me know what is the minimal requirements.

To write this exam do I need to write any other exams like SCJP, SCJA.






Thanks
Rams