It is usually the String class that gives me trouble. For instance, in
the contructors, where I'm using string, it says, the consturctor is
not same. Some places its giving me errors like "+=" operator is
undefined for type String..
even thought I have imported java.lang.*; its still giving me the
problems. ANy suggestions/ideas. Could it be my compiler or something
I haven't installed/added in?
On Sep 2, 10:50 pm, TheTravellingSalesman <saad.za...@gmail.com>
wrote:
> Here's the constructor for Node1
>
[quoted text clipped - 52 lines]
> > It should compile normally if your code is properly written.
> > We may need to see a small example code that shows the problem.
Lew - 03 Sep 2007 08:03 GMT
> It is usually the String class that gives me trouble. For instance, in
> the contructors, where I'm using string, it says, the consturctor is
> not same. Some places its giving me errors like "+=" operator is
> undefined for type String..
Which is strange, since that operator is defined for type String.
> even thought I have imported java.lang.*; its still giving me the
You never need to import java.lang.*. The language imports that for you
regardless.
> problems. ANy suggestions/ideas. Could it be my compiler or something
> I haven't installed/added in?
People have suggested that you post an example. Until you do, we're helpless
to help.
The example should be complete. The fragmentary approach leaves out the part
of the code that has the problem.

Signature
Lew
GArlington - 03 Sep 2007 15:10 GMT
> It is usually the String class that gives me trouble. For instance, in
> the contructors, where I'm using string, it says, the consturctor is
[quoted text clipped - 64 lines]
> > > It should compile normally if your code is properly written.
> > > We may need to see a small example code that shows the problem.
Did you manage to override String class somewhere? Defined it
yourself???