Goldman Sachs Interview Question for Software Engineer / Developers

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

Taken from wikipedia:

Objective-C does not support operator overloading.Objective-C allows an object only to directly inherit from one class (forbidding multiple inheritance).

The design and implementation of C++ and Objective-C represent different approaches to extending C.

C++ provides templates to support generic programming and metaprogramming, and a standard library with container classes. C++ requires this because C++ is a statically-typed language. Objective-C adds only object oriented features — Objective-C does not need to have template programming because it supports dynamic typing. Objective-C in its purest fashion does not contain the same number of standard library features, however in most places where Objective-C is used, it is used with an OpenStep-like library such as OPENSTEP, Cocoa, or GNUstep, providing the same functionality as C++'s standard library.

At run time, most information about types in C++ is gone, and there is no standard way to, for instance, call a certain method given only its name. In contrast, as Objective-C is dynamically typed, type information remains directly available at run time. For instance, one can call an Objective-C method given only a string representing its name.

- Yara Pavan Kumar August 11, 2006 | Flag Reply

Add a Comment

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


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


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