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 ?

Pattern Program in java Part-1

#1 Java Program To print Numbers in Below pattern:               1              2 3             4 5 6            7 8 9 10          11 12 13 14... read more ?

Collection Framework Tutorial

Limitations of Arrays: Arrays are fixed in size. need to estimate the size of an array while declaration itself. once array created we can not increase the size... read more ?

Select Menu