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 / ashwini kumar vatsa

class A extends String
because String is a pre defined class that is bind with java
api.so when we declares this statements that means we want to
access the api class String,but it cannot be access by the
users.

Is This Answer Correct ?    4 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does hashset works in java?

1093


Differentiate between a class and an object.

1033


How does compareto work in java?

1039


Why main method is static in java?

1180


How can we run a java program without making any object?

1044


How do I get 64 bit java?

1113


What do you understand by casting in java language?

1029


Can Exception handling we can handle multiple catch blocks?

1041


How to pass arraylist to stored procedure in java?

1173


What technique can be employed to compare two strings?

1104


How many types of keywords are there?

994


What is meant by method overriding?

1113


What is hashset in java?

1139


What is keyword auto for?

1186


How to convert string to char and vice versa?

1004