This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Java in General and the fly likes AbstractStringBuilder is not visible Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "AbstractStringBuilder is not visible" Watch "AbstractStringBuilder is not visible" New topic
Author

AbstractStringBuilder is not visible

sreejith panampilly
Ranch Hand

Joined: Jun 15, 2006
Posts: 49
when compiling the following code i am getting a compiler error "The type AbstractStringBuilder is not visible"

StringBuffer sb=new StringBuffer();
sb.append("one").append("two");
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14279
    
  21

The error message is not caused by those two lines of code directly. Please show us some more of your code. The compiler tells you exactly in which line of code the error occurs - have a good look at that line of code in your source file.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AbstractStringBuilder is not visible