Getting compilation error while using string datatype

I am using a StringBuilder object to store multiple strings into it as per the theoretical understanding. But i am getting compilation error for the statement

StringBuilder string = new StringBuilder();

I had tried whatever i had learned in the lectures, but nothing suits in here.