What is a class?

Answer Posted / amanpreet kaur

class is a object and object contain data and functions.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is static class not inherited?

589


What is the purpose of polymorphism?

668


Can private class be inherited?

611


Get me an image implementation program.

1551


Why do we use class in oops?

549






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

1685


write string class as your own class in java without using any built-in function

1965


What do you mean by overloading?

572


Explain the advantages of inheritance.

666


What is a class oop?

585


What are the 4 main oop principles?

669


What does and I oop mean in text?

614


Where is pseudocode used?

558


What is the importance of oop?

603


What is meant by oops concept?

600