Amazon Interview Question for Software Engineer / Developers






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

A class is a user defined data type consisting of data and member functions. It is the basis of encapsulation in C++.

Object is an instance of a class.

- Amulya Potineni September 23, 2005 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

A class is a user defined data type. It is a logical construct.
An Object is an instance of a class. It is the physical reality.

- Varun November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is the basis of abstraction. Encapsulation is a design characteristic of OO.

- Jack January 05, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

class is make object
but object is genrate any event.

- Fari January 17, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

http://java.sun.com/docs/books/tutorial/java/concepts/class.html

- Kanishk Panwar January 24, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Class is rather static with compared to object.

Class attributes does not change whereas attributes of objects change significantly over the life time of object.

Objects can be created and destroyed, Classes are not.

- Pratik February 07, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This difference can be viewed in line with the a program and a process.

A class is a piece of instructions, which are effectively passive.
An object is an active entity, that represents an instance of the class(data type).

- Shree March 29, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This difference can be viewed in line with a program and a process.

A class is a piece of instructions, which are effectively passive.
An object is an active entity, that represents an instance of the class(data type).

- Shree March 29, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

This difference can be viewed in line with a program and a process.

A class is a set of instructions, which are effectively passive.
An object is an active entity, that represents an instance of the class(data type).

- Shree March 29, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Here is a simple and practical answer:

Class is the Die i.e. it is like a pattern to make a widget
Objects are the widgets made out of the class - i.e. they are the real intances of the class - i.e. Use the die to make as many widgets as you want - it is mass production!

- Karthik June 05, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is a user defined data type. It is a logical construct.
An Object is an instance of a class. It is the physical reality.

- Varun November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is a user defined data type. It is a logical construct.
An Object is an instance of a class. It is the physical reality.

- Varun November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is a user defined data type. It is a logical construct.
An Object is an instance of a class. It is the physical reality.

- Varun November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is a user defined data type. It is a logical construct.
An Object is an instance of a class. It is the physical reality.

- Varun November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

In terms of CS, a class is a souped-up C structure. An object is a running instance of that representation in memory.

- Jack November 14, 2006 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

A class is a blueprint of an object. A class defines a collection of datatypes, storage types of the defined datatypes and the functions/operations that can be performed on the datatypes as well on the whole class itself. A object is an instantiation/creation of the datatypes defined in the class complying to the rules specified in the class definition. For Ex: instantiation of static & instance variables etc.

- Murali Mohan February 03, 2009 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

No Comments, just wanna see whats happening

- Ritesh May 23, 2005 | 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