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 are the various access specifiers for java classes?

1056


Explain the purpose of garbage collection in Java?

1031


What are kinds of processors?

994


Write code of any action class?

1015


How to check if linked list contains loop in java?

903


What are the 5 types of research methods?

1139


Tell some latest versions in JAVA related areas?

984


How many techniques can be employed to create a string object?

1106


Explain the access modifiers for a class, method and variables?

1142


What are the different http methods?

1034


What is a finally block? Is there a case when finally will not execute?

1078


What is data string?

972


How big is a boolean?

1033


What is use of map in java?

1011


Difference between this() and super() in java ?

1078