wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes String Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "String Class" Watch "String Class" New topic
Author

String Class

bharathi shankar
Greenhorn

Joined: Nov 28, 2003
Posts: 3
Is it possible to subclass the String Class?
If not what is the reason?
bharathi shankar
Greenhorn

Joined: Nov 28, 2003
Posts: 3
Got the answer!!! Hurray!!!
Since String class is final we cant subclass it!!
Chris Mathews
Ranch Hand

Joined: Jul 18, 2001
Posts: 2712
Moving to JIG Forum...
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: String Class