Java Program to find Max occurred character in a string

How to print duplicate characters from string in java? Java program to count number of repeated characters in a string. Java program for printing a repetitive letters in... read more ?

Java program to check two strings are anagrams

(adsbygoogle = window.adsbygoogle || []).push({}); package com.javatutorial;  import java.util.Arrays; public class CheckAnagramStrings {    private static boolean isAnagram(String str1, String str2) {           if (str1.length() !=... read more ?

Java Program to count number of vowels in a string

Solution #1: package com.javatutorial;   public class CountNumberofVowels {    public static void main(String[] args) {    System.out.println("Please enter a String"); Scanner in = new Scanner(System.in);                    String input... read more ?

Java Program to Count the number of occurrences of a char in a String?

(adsbygoogle = window.adsbygoogle || []).push({}); Solution #1: package com.javatutorial;   import java.util.Scanner;   public class CountNumberofChars {    public static void main(String[] args) {     String str =... read more ?

Java program To Count the number of words in a String

(adsbygoogle = window.adsbygoogle || []).push({}); package com.javatutorial;   public class CountNumberofWords {    public static void main(String[] args) {   String s=""; int count=0;   Scanner in =... read more ?

Pattern Program in java Part-3

 Program #1:  java program to print pyramid of stars using for loop in below format * ** *** **** ***** ****** ******* ******** ********* ********** (adsbygoogle = window.adsbygoogle... read more ?

Pattern Program in java Part-2

#4 Java Program to print Numbers in Below pattern 1 2 3 4 5 6 7 8 9  1 2 3 4 5 6 7 8   1... read more ?

Select Menu