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

    Default cannot find symbol in StringBufferInputStream

    Java Code:
    import java.io.*;
    
    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 online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,447
    Blog Entries
    7
    Rep Power
    20

    Default Re: cannot find symbol in StringBufferInputStream

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

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,196
    Rep Power
    19

    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.

    db
    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
  •