Morgan Stanley Interview Question for Financial Software Developers


Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
1
of 1 vote

I think we should mention mark , mark and sweep,

the three memory segments (for new objects, long lived objects and middle age objects ) needs to be mentioned

- prasanna.nethra May 15, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

Yep. The full explanation would actually be incredibly complicated and well outside the scope of an interview.

- eugene.yarovoi May 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

When a reference variable pointing to an object, is not accessible by an external tread, then the object is eligible for garbage collection.

Some times even an object have a reference variable, but that reference variable is not accessible, is considered to be eligible for garbage collection. This scenario is known as Isolation of a Reference.

When an object is eligible for garbage collection, JVM calls finalize() method on that object.

- Anonymous May 11, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 2 vote

Whenever nothing is referring to object, then automatic garbage collector is called to finish off the mess.

- Nitin Gupta May 12, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

That's not correct, It should be "when an object is not reachable, it will be collected". Think about A referring to B, but they are alone.

- royguo1988 May 21, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

perfect catch!!

- trverma June 08, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

_!_

- flipkart July 07, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

#include<iostream>
using namespace std;

int main()
{

}

- aaa May 17, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

#include<iostream>
using namespace std;


int main()
{



}

- Anonymous May 17, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
-2
of 2 vote

#include<iostream>
using namespace std;

int main()
{
    cout<<"hello world!"
}

- just testing May 17, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

test ur ass

BAZINGA !!!

- Sheldon Cooper June 19, 2012 | Flag
Comment hidden because of low score. Click to expand.
Comment hidden because of low score. Click to expand.
0
of 0 votes

@aaa

what was that ??

- Anonymous May 28, 2012 | Flag


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More