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

How do you find the absolute value?

1069


Difference between arraylist and vector.

1133


What is the purpose of the return statement?

1069


What are predefined functions?

1141


How do you initialize an arraylist in java?

1051


Explain about serializable interface in java?

1010


What programs use java?

967


What is meant by overloading?

1075


Can inner class have constructor?

1048


Why should we use singleton pattern instead of static class?

941


Explain about static imports in java?

1004


What is static keyword in java?

1004


Explain about the interpreter in java?

1063


How to create a base64 decoder in java8?

1065


What is java beans?

1008