Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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).

2071


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?

1869


What is abstraction in oop?

1085


Which type does string inherit from?

1061


What is difference between inheritance and polymorphism?

976


Why is object oriented programming so hard?

1025


What is encapsulation in ict?

995


How to hide the base class functionality in Inheritance?

1090


What is class encapsulation?

1030


Will I be able to get a picture in D drive to the c++ program? If so, help me out?

2140


What is destructor oops?

1035


What is advantage of inheritance?

1128


What are the three parts of a simple empty class?

1980


What are the 3 pillars of oop?

1099


Why do while loop is used?

974