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

Why webdriver is an interface?

1037


List some java keywords sun like c, c + + keywords?

990


What is a ?

1185


When does an object becomes eligible for garbage collection in java?

1045


Define inheritance?

994


What is Java Reflection API? Why it’s so important to have?

1140


What are kinds of processors?

974


What does %d do in java?

1028


What is serialversionuid?

1065


If we don’t want some of the fields not to serialize how to do that?

994


Difference between linkedlist and arraylist.

1049


'A class is a template for an object' explain this statement.

1041


How many bits is a double?

974


What is preflight request?

993


Is there a way to increase the size of an array after its declaration?

1032