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

any class that extends Taget

Is This Answer Correct ?    6 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give a brief description of java socket programming?

904


What is the parse method in java?

1049


Distinguish between a predicate and a function?

938


How can you read an integer value from the keyword when the application is runtime in java? example?

1059


What is java full form?

955


What is stream api in java8?

1072


What is application tier?

1043


Explain the difference between treeset and treemap in java?

922


Write a program to reverse array in place?

1014


What is finally in Java?

1011


How do you decide when to use arraylist and linkedlist?

941


What is the point of java?

967


What is final class?

957


how would you implement a thread pool? : Java thread

844


What is static synchronization?

1035