Welcome to UPES - Tech Community | Dehradun
- Start new topics and reply to others
- Subscribe to topics and forums to get email updates
- Get your own profile page and make new friends
- Send personal messages to other members.
- Online chat support - 24/7 for your queries,engage with others.
Submitter
File Information
- Submitted: Apr 04 2017 01:49 AM
- Last Updated: Apr 04 2017 01:49 AM
- File Size: 2.96KB
- Views: 1607
- Downloads: 1,436
Download Strings Handling - Java Lab - Experiment 8th Solution
upestech upes programs papers java 2017
1) Write a program for searching strings for the first occurrence of a character or substring and for the last occurrence of a character or substring.
2) Write a program that converts all characters of a string in capital letters. (Use StringBuffer to store a string). Don’t use inbuilt function.
3) Write a program in Java to read a statement from console, convert it into upper case and again print on console. (Don’t use inbuilt function)
4) Write a program in Java to create a String object. Initialize this object with your name. Find the length of your name using the appropriate String method. Find whether the character ‘a’ is in your name or not; if yes find the number of times ‘a’ appears in your name. Print locations of occurrences of ‘a’ .Try the same for different String objects
Other files you may be interested in ..
- 75 Total Files
- 4 Total Categories
- 5 Total Authors
- 64,243 Total Downloads
- DCN Lab File Record With Solutions - Download Latest File
- Guest Latest Submitter
67 user(s) are online (in the past 15 minutes)
0 members, 67 guests, 0 anonymous users