0

How to access the member of OneClass which is in default package into OtherClass of another package

 Project Hierarchy
|
|--->default
|      |------> OneClass
|                   |-------> public int a=1;
|                             
|--->another                    
       |----->OtherClass                                      

Now want to access variable a of class OneClass to OtherClass of package another.

Dheeraj Upadhyay
  • 336
  • 2
  • 12

0 Answers0