Tutorials Shared by the Internet Community
|Top Tutorials||New Tutorials||Submit||Login||Register|
Tutorial Basic Detail
Total Hits: 14285
Total Votes: 139 votes
Average Rating: 2.81 out of 5
Category: JAVA/Core JAVA
Description:String is one of the most important classes in Java and anyone who starts with java programming uses string to print something on console by using. No matter which kind of application you are working you will find heavy usage of java String class but if you do profiling of your application you will find that String is the one class which creates lots of garbage because of many temporary Strings created in program. In this article we will see What is String, some important properties of String in Java, What is StringBuffer in Java , When to use StringBuffer in Java , StringBuilder in Java and how it can be used in place of StringBuffer, What are differences between String and StringBuffer and StringBuilder in Java and mostly String vs StringBuilder vs StringBuffer. Now let's start with String.