MSK Technologies

Home
Practice Programs
Java Programs Python Programs Java Quiz
Pages
Python Java Material PLSQL Material
Search A Job

Write a StringBuilder append() program

  1. Home
  2. Java Programs

Write a StringBuilder append() program

Write a StringBuilder append() program

Program
import java.util.Scanner;
public class Main
{
    public static void main(String args[])
    {
        String s1;
        Scanner sc=new Scanner(System.in);
        System.out.println("Enter String : ");
        s1=sc.nextLine();
        StringBuilder sb1=new StringBuilder(s1);
        System.out.println(sb1.append("Kumar"));
    }
}


Output:

Enter String :Sateesh
SateeshKumar


Strings Handling In Java



More Questions


209 . Write a StringBuilder append() program
210 . Write a StringBuilder replace() Program
211 . Write a Java-program to Count the number of vowels in a given string ?
212 . Write a Java-program to Count the number of Consonants in a given string ?
213 . Write a Java-program to Count the number of spaces in a given string
214 . Write a Java-program to Count the number of special characters in a given string ?
215 . Write a Java-program to Count the number of letters in a given string ?
216 . Write a Java-program to Count the number of Numbers in a given string ?
217 . Write a Java-program to Remove vowels in a given string ?
218 . Write a Java-program to Remove consonants in a given string ?
219 . Write a Java-program to Remove special characters in a given string ?


Interview Questions

Java Interview Questions

Python Interview Questions

Oracle Interview Questions

100 Most Asked Java Interview Questions and Answers

HR Interview Questions and Answers

Top 50 OOPS Interview Questions & Answers

Apply For The Job

Apply For Job

Java Material

Python Material

PLSQL Material

.Net Material

Java Practice Programs

400 Java Programs

Java Practice Programs

Write a java Program to check given matrix is null matrix

Write a java program to add two matrix

Write a java Program to print odd and even numbers from an array

Add all the digits of a given positive integer until the result has a single digit

Write a Java program to print the odd numbers from 1 to 20

Python Practice Programs

Write a python program to open a website using python

Write a Python Program to Check if a Number is Positive, Negative or Zero.

Write a Python program to find the area of a triangle.

Write a program to print swapping variables

Write a python program to print most frequent letter in a string

Interview Questions

Java Interview Questions

Python Interview Questions

Oracle Interview Questions

100 Most Asked Java Interview Questions and Answers

HR Interview Questions and Answers

Top 50 OOPS Interview Questions & Answers

Java Quiz

Java Quiz - 5

Java Quiz - 11

Java Quiz - 7

Java Quiz - 1

Java Quiz - 13

Courses
Java Python PLSQL .Net ADO.Net About Us
Quick Links
Daily Use English Sentences Daily General Knowledge General Knowledge Latest Update Inventions and Inventors జనరల్ నాలెడ్జ్ General Knowledge Spoken English Spoken Hindi GK Hindi Telugu Facts Unknown Facts Psychology Facts Motivation Quotes విటమిన్ - సి,డి,ఇ,కె Android
Spiritual
రాధాకృష్ణ భగవద్గీత Motivation Quotes Slokas Talapatra Nidhi ఆధ్యాత్మిక భక్తి ప్రపంచం Sadhguru Sai Motivation Quotes గౌతమ బుద్ధుడు Bhagavad Gita Quotes
Newsletter

Dolor amet sit justo amet elitr clita ipsum elitr est.

© sateeshm, All Right Reserved. Designed By sateeshm
Home Help FQAs