what is Class in oops with example?
Answers were Sorted based on User's Feedback
Answer / sudhavasugj@gmail.com
Object is the variable of class in oops. Class is created
for do some behavior in program. The behavior is accessed by
creating the object for the particular class in main program.
Ex: computer c++;
computer - class
c++ - object
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / venkatesh
Class is a user defined datatype, and it is a logical representation of data(means which does not occupy any space)
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / elakiya.p
a class is a collection of similar object type.
for eg:
fruit mango;
->fruit is a user defined data type.
->mango is a object.
->fruit is also we called class.
->it behave like built-in types of programming language.
| Is This Answer Correct ? | 3 Yes | 0 No |
• What are the desirable attributes for memory managment?
Why is polymorphism important in oop?
What is inheritance and how many types of inheritance?
what is the difference between class and structure in C++?
What are oops methods?
Can we define a class within the interface?
What is the difference between abstraction and polymorphism?
write a function that takes an integer array as an input and finds the largest number in the array. You can not sort array or use any API or searching needs?
2 Answers IBMS, Zycus Infotech,
When will a constructor executed?
What is static modifier?
Can we have a private virtual method ?
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...