Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

WHAT IS THE ACTUAL DEFINATION OF OBJECT AND THE CLASS IN ONE
SINGLE LINE WHICH THE INTERVIEWER WANT TO LISTEN.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation with real life example?

1089


what is the drawback of classical methods in oops?

3431


Can we define a class within the interface?

1100


What is the difference between procedural programming and oops?

1211


What is the significance of classes in oop?

1232


can we make game by using c

4223


i am getting an of the type can not convert int to int *. to overcome this problem what we should do?

2357


How to call a non virtual function in the derived class by using base class pointer

6696


Why is abstraction needed?

1095


What is difference between polymorphism and inheritance?

1135


Whats oop mean?

1101


Why is static class not inherited?

1152


What is class in oop with example?

1162


Explain virtual inheritance?

1257


#include #include #include #include void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort

2606