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

any class

Is This Answer Correct ?    4 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is supplier in java?

954


What is a package in java? List down various advantages of packages.

1195


Explain the key functions of data binding?

953


Why charat is used in java?

983


Can constructor return value?

902


What is static and final keyword in java?

978


What is file in java?

982


What is an interoperable application in java ?

949


what is function overloading in java?

1211


What are the data types supported by java?

970


What is the difference between a field variable and a local variable?

1024


How can we create a thread in java?

962


Which is the best sorting technique in java?

930


Why is core java important?

991


What do you meant by active and passive objects?

1016