Java
Tuesday, 30 January 2024
StringBuffer and StringBuilder
StringBuffer
Synchronized
Thread safe
StringBuilder
Not synchronized
Not thread safe
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Reverse Words in a Sentence
Second Largest Number In Array
public static int second ( int [] list){ int secondLargest = 0 ; Set<Integer> values = new HashSet<...
Count the vowels
public static int countVowels(String name){ int count = 0 ; List<Character> values = new ArrayList<>(); for (...
System.out.println()
System It is a final clas Has private constructor Doesn;t allow to instantiated Provide facilities to standard input ,output out static met...
No comments:
Post a Comment