Answer Posted / rashid
Class is nothing but it is the collection of data member and
variable while object is an instance of a class.
Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is data binding in oops?
what is the sylabus for priliminaries?
What is polymorphism explain its types?
What is property in oops?
write knight tour problem which is present in datastructure
What is overriding in oops?
Why interface is used?
Why do we use polymorphism?
Is react oop?
What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?
class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash
Why is polymorphism used?
what type of question are asked in thoughtworks pair programming round ?
How do you define social class?
What is encapsulation process?