Advertisement
Guest User

Untitled

a guest
Aug 22nd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. public static void main(String[] args) {
  2. // TODO Auto-generated method stub
  3. StringBuffer sb1 = new StringBuffer("Manipal");
  4. System.out.println(sb1.append("Education"));
  5.  
  6. StringBuffer sb6 = new StringBuffer("Training");
  7. System.out.println(sb6.deleteCharAt(2));
  8. System.out.println(sb6.reverse());
  9. System.out.println(sb6.insert(0, " o "));
  10.  
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement