StringBuffer class in Java (2)
StringBuffer class in Java
Purpose: how to use StringBuffer class in Java
How do I save memory and CPU?
One of the solution is to use a class "springbuffet"
Fomula :
Stringbuffet title = new Stringbuffet( );
(random name) (execution)
title.append(" ");
title.append(" ");
retrun title.toString( );
Why error box on "Return title" ?
Since the class is "String type", need to exchange it to string!
Comments
Post a Comment