Which keyword is written to use a variable declared in one
class in the other class?
Answer Posted / poonam
We can use thses keywords Public ,Internal,Protected Internal, to use a variable in one class to other Class .
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is abstraction in oop?
Which type does string inherit from?
What is difference between inheritance and polymorphism?
Why is object oriented programming so hard?
What is encapsulation in ict?
How to hide the base class functionality in Inheritance?
What is class encapsulation?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is destructor oops?
What is advantage of inheritance?
What are the three parts of a simple empty class?
What are the 3 pillars of oop?
Why do while loop is used?