Looking for a Tutor Near You?

Post Learning Requirement »
x

Choose Country Code

x

Direction

x

Ask a Question

x

x
x
x
Hire a Tutor

ICSE Computer Notes

Loading...

Published in: Java And J2EE
4,296 Views

Java programs

Jayeeta B / Kolkata

3 years of teaching experience

Qualification: MCA

Teaches: All Subjects, Computer, Computer Science, School Level Computer

Contact this Tutor
  1. Write a program in JAVA to accept a string from user. Count and display the frequency of uppercase letters, lowercase letters, special characters and digits. class prg7 {public void count(String x) int up=O; int lw=O; int l=x.length(); for(int int di=O; int sp=O; char ch=x.charAt(i); if(ch>='A'&& ch='a' && ch='O' && ch
  2. OUTPUT Total number of uppercase letters is 1 Total number of lowercase letters is 6 Total number of digits is 5 Total number of special characters is 2