Which keyword is written to use a variable declared in one
class in the other class?

Answers were Sorted based on User's Feedback



Which keyword is written to use a variable declared in one class in the other class?..

Answer / sathya

public

Is This Answer Correct ?    46 Yes 1 No

Which keyword is written to use a variable declared in one class in the other class?..

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

Which keyword is written to use a variable declared in one class in the other class?..

Answer / saravanan

public or protected

Is This Answer Correct ?    4 Yes 4 No

Which keyword is written to use a variable declared in one class in the other class?..

Answer / monica

public

Is This Answer Correct ?    0 Yes 0 No

Which keyword is written to use a variable declared in one class in the other class?..

Answer / monica

public

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More OOPS Interview Questions

what is the use of template classes in c++

1 Answers  


Write a macro for swapping integers

5 Answers  


Why is oop better than procedural?

0 Answers  


What is the types of inheritance?

0 Answers  


what is costructor?

1 Answers  


what is the difference between class to class type conversion and copy constructor ?

2 Answers  


What is data binding in oops?

0 Answers  


define oops concept with example

1 Answers   Cap Gemini,


What is abstraction and encapsulation?

0 Answers  


What is meant by multiple inheritance?

0 Answers  


What does the code "cout<<(0==0);" print? 1) 0 2) 1 3) Compiler error: Lvalue required

15 Answers   ISTS, Wipro,


what is the basic concept of inheritance?

9 Answers  


Categories