Citigroup Interview Report
- -3of 3 votes
Answersdecide collection in java where you can store this range based search?
- java.interviews.questions October 06, 2013 in India
age range : group id
0-25 : 1
26: 50 : 2
> 51 : 3
best way to store this DS and In search input is age and we should get group id?| Report Duplicate | Flag | PURGE
Citigroup Applications Developer Java - -3of 3 votes
AnswersIf new object is created by thread then where object's attributes are going to be created? stack or heap?
- java.interviews.questions October 06, 2013 in India
class Myclass{
String data;
MyObject object;
public void mehtod(){
data = new String("ddd");
object = new MyObject();
int i = 10;
}
Suppose now thread A creates object of this class and calls method() then where data, object and i will be created? heap or stack of thread?| Report Duplicate | Flag | PURGE
Citigroup Applications Developer Java - -3of 3 votes
Answerwhen to use serialization vs externalizable interface?
- java.interviews.questions October 06, 2013 in India| Report Duplicate | Flag | PURGE
Citigroup Applications Developer Java
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.