JAVA-INDEX.COM
Java programming resources: FAQs, tutorials, compiler and browser download sites, documentation, books lists, IDEs, etc.
Home....
|
log in....
|
Pub my question!
|
Sign-up....
Java-index
>>
Other Topics
>>
Patterns & OO Design
Why String need to be final?
Why String need to be final?
[35 byte] By [
jimmy6a
] at [2007-10-2 9:12:05]
««
getting the REmoteExceptionjava.rmi.MarshalException
»»
Retrieve table row length
# 1
As a guess - because it is intended to be immutable.
jschella
at 2007-7-16 23:19:09 >
# 2
For security reasons.
rafael.santinia
at 2007-7-16 23:19:09 >
# 3
Security and speed.
Adeodatusa
at 2007-7-16 23:19:09 >
# 4
Final or immutable? Final so that you are not tempted to extend String. You are supposed to *use* String. Immutable for the salient reasons previously posted.- Saish
Saisha
at 2007-7-16 23:19:09 >
# 5
The easy answer is because it's not intended to be subclassed.
kablaira
at 2007-7-16 23:19:09 >
Other Topics
WHo have got Ballman ford application and souce code in java?
How to pasre parts of file
Death punishment to my cpu using infinate repaint()...
Knuth-Morris-Pratt Algorithm
Inner class problems
How do I find all possible positions?
Software downloads for Java Game Development
show Transperant image in MIDP1.0
Problem with algorithm
Mean-shift algorithm for images
Patterns & OO Design
aggregation Vs composition
Organizing MVC
Specialized vs. Generic Interfaces?
Best XML binding framework or utility?
Senior Design Project Ideas
is struts the ideal choice
Plugin Application
DAO Pattern Confusion
JNDI Lookup
Good design choice, different types of customers, from webservice
Other Topics New Topic
WHo have got Ballman ford application and souce code in java?
How to pasre parts of file
Death punishment to my cpu using infinate repaint()...
Knuth-Morris-Pratt Algorithm
Software downloads for Java Game Development
show Transperant image in MIDP1.0
Organizing MVC
Specialized vs. Generic Interfaces?
Other Topics Hot Topic
Inner class problems
How do I find all possible positions?
aggregation Vs composition
Mean-shift algorithm for images
sorting large CSV file help
Image Backgrounds - .gif
is struts the ideal choice
how to free memory
Other Topics
Java Game Development
Patterns & OO Design
Algorithms
Java Community Process (JCP) Program
Fresh Tools
Forum Maintenance
All Classified
Archived Forums
Enterprise & Remote Computing
Java Essentials
Desktop
Core
Solaris Operating System
Security
Database Connectivity
Java Mobility Forums
Web & Directory Servers
Development Tools
Application & Integration Servers
Java HotSpot Virtual Machine
Other Topics
E-Mail, Calendar, & Collaboration
Developer Tools
General
Administration Tools
Sun Hardware
Storage Forums
Java Enterprise System
StarOffice
Open Source Technologies
BigAdmin
Real-Time
Java Coding