WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.
Answers were Sorted based on User's Feedback
Answer / kunal prakash
object is the instance of the class.
class contains data and member functions.
| Is This Answer Correct ? | 12 Yes | 4 No |
Answer / mallikharjuna
object is a real world entity.
class is a blueprint of object
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / hareesh d
Object :is a one which contains both data and member functions
class:which contains group of objects
| Is This Answer Correct ? | 16 Yes | 10 No |
Answer / deepika
object is the real world entity and it is the instance of a
class.
collection of objects is known as class. all the objects
which belongs to the same class share same properties and
common behaviour.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / amit
class is key word which is provids to create a user defined
datatypes and
object is delegates of class
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / pranay agarwal
class is a template that contain data and functions, an
object can use this template any no. of times .
object is instance of class.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / amit chauhan
object is a real world entity.
class is collection of similar objects.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / dulichand kumawat
class: A class is a collection of variables and functions working with these variables. Variables are defined by var and functions by function.
Object: Object is instance of the class which is used for run
the class like a key(object) of car(class)
| Is This Answer Correct ? | 1 Yes | 0 No |
which feature are not hold visual basic of oop?
What is data binding?
c++ is a purely oop concept?
#include <iostream> using namespace std; int main() { int a = 2; int c[5][5]; for (int x=0;x<5;x++) { for (int y=0;y<5;y++) { c[x][y] = x*y; } } cout << c[a][c[1][4]]; }
How is data security provided in Object Oriented languages? ?
what is diff between .net 1.1 and .net 2.0
Which is the best institute in hyderabad for C/C++ and it also has fast track course structure.
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
What is an advantage of polymorphism?
What is Method overloading?
how to swap to variables without using thrid variable in java?
1.what are two type of classe members called? 2.what is data hiding and data encapsulation? 3.how do you make a class member visible aouside its class? 4.what is the default visibility of a class data member? 5.what are the advantages of oop over the structured programing?