Explain Global variables in Packages?

Answer Posted / anitha

expect private,all public,protected and default variables
are global in a package

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can an object subclass another object?

554


What is the difference between replace and replace all?

470


What is the meaning of flag day?

537


what is singleton class in java?

619


Mention a package that is used for linked list class in java.

524






Is java hard to learn?

461


What are the main uses of this keyword?

597


What happens if an exception is not handled in a program?

623


Convert Binary tree to linked list.

587


What is the private method modifier?

577


What is the difference between public, private, protected, and friend access?

570


Define jit compiler?

657


What about main() method in java ?

565


How can the checkbox class be used to create a radio button?

505


Why do we need singleton class?

547