Answer Posted / priya
string is class
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is encapsulation in ict?
Can static class have constructor?
What is use of overloading?
What are the benefits of interface?
What is purpose of inheritance?
What is polymorphism what are the different types of polymorphism?
What does <> mean pseudocode?
Can a destructor be called directly?
What is overloading in oops?
What is the types of inheritance?
Is this job good for future? can do this job post grduate student?
is there any choice in opting subjects like 4 out of 7
What is class encapsulation?
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
What is the difference between encapsulation and polymorphism?