A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide 1Z0-808
this week in the
Joined: Jun 04, 2007
Jun 14, 2007 13:21:00
Want to know from which class a
Class is inherited.
Joined: Aug 31, 2004
Jun 14, 2007 14:04:00
If you check the API documentation for String, you will see that String inherits directly from Object...
If there are direct known subclasses, these are also listed in the API. None are shown for String.
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award."
Jesper de Jong
Joined: Aug 16, 2005
Jun 15, 2007 00:49:00
The API documentation also mentiones that class String is
, which means that it cannot be subclassed - so there are no classes that extend String.
Java Beginners FAQ
JavaRanch SCJP FAQ
The Java Tutorial
Java SE 8 API documentation
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Class inheritance.
Doubt about diagram class
WA #1.....word association
Doubt about diagram class (realization)
can non-static inner class access any member
andrew has wii
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015