yes...
can u post the code ??
On Aug 31, 2015 11:46 AM, "Sonu Ahluwalia" <[email protected]>
wrote:

> In the lab of "Tour of  java.lang.* classes"
>
> (0.5)  StringBufferDemo class
> System.out.println("substring (1st two characters): "
>                           + sb.substring(0, 3));
>
> (0.6)  StringBuilderDemo class
> System.out.println("substring (1st two characters): "
>                           + sb.substring(0, 3));
>
> Both the above codes gets 3 characters, it should be
> System.out.println("substring (1st two characters): "
>                           + sb.substring(0, 2));
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "JPassion.com: Java Programming" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> Visit this group at http://groups.google.com/group/jpassion_java.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"JPassion.com: Java Programming" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/jpassion_java.
For more options, visit https://groups.google.com/d/optout.

Reply via email to