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...

give me the answer of this code
class A extnds String
This code we can write r not in Java? Explain?

Answer Posted / satish

it is not posible to extend String class because it is
final.if class is final we can't extend that class.

Is This Answer Correct ?    12 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a class extend 2 classes in java?

1034


Can java cast null?

1038


Can I use % with real numbers?

1021


What are the uses of java?

1088


Is boolean a wrapper class in java?

1058


Why singleton is not thread safe?

992


What is the difference between abstraction and encapsulation?

1048


Can an interface have a class?

1002


How does map works in java?

996


Difference between nested and inner classes ?

1131


Does constructor be static?

1035


What does || || mean in math?

938


What are the basic control structures?

988


When can you say a graph to be a tree?

1083


Why we use set in java?

1001