regarding the string class
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   k_purushotham
Posted On:   Tuesday, December 25, 2007 11:52 AM

Hi,
Can some please let me know can we extend the string class in your own class?
If YES---why? If NO----why?

Re: regarding the string class

Posted By:   anand853_pasunoori  
Posted On:   Tuesday, January 29, 2008 10:36 PM

Hi Friend,

as in java if we put final before a class we can't extend the class.


Final mean
in varaibels-----------we can't reasigne the value
in methods-------------we can't override the method
we can overload the method
in clas----------------we can't extend the class




i hope u got
Best,
Anand Pasunoori
anand853@gmail.com

Re: regarding the string class

Posted By:   Robert_Lybarger  
Posted On:   Tuesday, December 25, 2007 08:00 PM

java.lang.String is "final" ... if you know what that keyword means, then you have your answer. "Why" mainly revolves around being a general security concern.
About | Sitemap | Contact