Microsoft Interview Question for Software Engineer in Tests






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

You can implement multiple interfaces but extend only one class (abstract or not). An abstract class can have data members, constructors, methods with bodies, ..etc. It's your typical class except that it can't be instantiated.

- Anonymous July 28, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

An abstract class may contain implementation of some functions ( not all ).

An interface can never contain implementation of any function

- Anand July 31, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

True! Interface is PURE abstract class

- neo August 27, 2009 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

http://mindprod.com/jgloss/interfacevsabstract.html

- saurabh.comps November 08, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

http://mindprod.com/jgloss/interfacevsabstract.html

- saurabh.comps November 08, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

abstract class : abstarct class means any method can be just declared not nee to define that method but for all the methods its not necessary meeans there can be many methods which can be defined and many which are just declared and for varibl;es u can define varibles as u like
interface : in case4 of the Interface u can only declare the prototype of the method
u cant define any method in the body of the interface.and for varibles definition u can just define constant here not a varible
means a static final type something

- geeks July 08, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Also,

you have the choice of making methods public, pvt or protected in abstract classes
but in interfaces all methods are public

- Someone August 19, 2011 | Flag Reply


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