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...

Given:
1. package test;
2.
3. class Target {
4. public String name = “hello”;
5. }
What can directly access and change the value of the
variable name?
1 any class
2 only the Target class
3 any class in the test package
4 any class that extends Target

Answer Posted / ram

any class in the test package

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is boolean flag in java?

1076


What is the difference between scrollbar and scrollpane?

1073


What is unicode used for?

1140


What are the characteristics of Final,Finally and Finalize keywords.

1160


How do you sort arrays in java?

913


Is class is a data type?

1064


Why isn’t there operator overloading?

1049


what are three ways in which a thread can enter the waiting state? Or what are different ways in which a thread can enter the waiting state? : Java thread

956


What is the use of a copy constructor?

975


Can you achieve runtime polymorphism by data members?

1130


Is java call by value?

1068


What are bind parameters?

1025


If I don't provide any arguments on the command line, then what will the value stored in the string array passed into the main() method, empty or null?

1239


What is the use of parse function in java?

965


What is the difference between math floor and math round?

1017