Results 1 to 3 of 3
  1. #1
    javapro2015 is offline Member
    Join Date
    Mar 2013
    Rep Power

    Default cannot find symbol in StringBufferInputStream

    Java Code:
    public class example6
             static String ss1 = new String("Today upon a bus,\n" +
                                            "I saw a lovely girl" +
                                            "with golden girl. \n");
             static String ss2 = new String("to me it seem \n"+
                                            "so gay,\n .And I wished" +
                                            "I was so fair.\n");
           static StringBufferInputStream sbs1 =
                                          new StringBufferIputStream(ss1);
            static StringBufferInputStream sbs2 =
                             new StringBufferIputStream(ss2);
             static SequenceInputStream sis =
                           new SequenceInputStream(sbs1,sbs2);
    While compiling the above code getting error msg as given in jpg

    cannot find symbol in StringBufferInputStream-error_compile.jpgClick image for larger version. 

Name:	error_compile.jpg 
Views:	12 
Size:	36.9 KB 
ID:	4595

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Voorschoten, the Netherlands
    Blog Entries
    Rep Power

    Default Re: cannot find symbol in StringBufferInputStream

    I know about StringBuffers and InputStreams, but a StringBufferInputStream is unknown to me ...

    kind regards,

    Build a wall around Donald Trump; I'll pay for it.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: cannot find symbol in StringBufferInputStream

    To get rid of the compiler error, check your spelling. But, don't use deprecated classes. The API for StringBufferInputStream will tell you what you should use instead.

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Cannot find symbol
    By Eleeist in forum New To Java
    Replies: 5
    Last Post: 01-22-2012, 08:36 PM
  2. Cannot find Symbol
    By webbby in forum New To Java
    Replies: 3
    Last Post: 04-14-2011, 12:51 AM
  3. Cannot find symbol
    By shane5317 in forum AWT / Swing
    Replies: 3
    Last Post: 03-02-2011, 11:36 AM
  4. Replies: 9
    Last Post: 10-18-2008, 08:26 PM
  5. Replies: 3
    Last Post: 05-01-2008, 08:30 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts