Java Assignment 1/2/2017

  1. WAP to accept a string from user and calculate length of given string.
  2. WAP to accept a string and a character and print the number of times that character has occurred in a string.
  3. WAP to accept a string from user and print count as well as all the vowel characters from it.
  4. WAP to check whether a string is a palindrome or not.
  5. WAP To find out number of repeated characters in a string.
  6. WAP to demonstrate user defined exceptions.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s