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 / monica

public

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1632


What is a class in oop?

1126


How do you explain polymorphism?

1071


How can you overcome the diamond problem in inheritance?

1178


Explain the concepts involved in Object Oriented programming.

1222


Why is destructor used?

1018


Can main method override?

1104


What is the difference between inheritance and polymorphism?

1108


Why it is called runtime polymorphism?

1129


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2612


What are functions in oop?

1051


When not to use object oriented programming?

1099


What is persistence in oop?

1139


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

2280


What are the benefits of interface?

1054