Welcome Guest | Sign in | Register
Defining Variables - Discussion Page For Q.10636 | C Programming Questions and Answers | C Programming Free Online-Tests | LucentBlackBoard | LucentBlackBoard.com

Home > Java Programming > Defining Variables > Questions and Answers

Q: If a variable is declared as above, can it be accessed from another file?
A. Yes; it can be referenced. B. No; it should be declared as a static variable.
C. No; it should be declared using the global keyword D. Yes; it can be referenced through the publish specifier.
E. Yes; it can be referenced through the extern specifier.

Answer and Explanation

Answer:No; it should be declared using the global keyword

Explanation:
There is no explanation...

Comment on this Question

Name:

Loading...




Partner Sites
LucentBlackBoard.com                  SoftLucent.com                  LucentJobs.com
All rights reserved © 2012-2015 SoftLucent.