This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Fri, Aug 12, 2011 at 8:27 AM, Jie Liu <lj8175@gmail.com> wrote:
> The method length() is not a final method, as java/lang/String.java line 447:
>
> ?public int length()
> ?{
> ? ?return count;
> ?}
>
> Is this the problem?
As String is a final class, all its methods are implicitly final.
Bryce
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |