Jump to content

  • twitter
  • youtube

Welcome to UPES - Tech Community | Dehradun


Sign In 

Create Account
Welcome to UPES - Tech Community | Dehradun, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of UPES - Tech Community | Dehradun by signing in or creating an account.
  • 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.
 

About US

UPES - Tech Community helps the students to find study materials for different engineering specialties like mechanical, civil, electrical, computer science and electronics etc.The community is also sharing the year wise question papers of UPES, Dehradun and even comprised up with latest technology aspects, news, events, tutorials and various types of digital gadget reviews.

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



Strings Handling in Java


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 ..





67 user(s) are online (in the past 15 minutes)

0 members, 67 guests, 0 anonymous users



Discussion | Topics
Community Guidance
Useful Resources
Connect With Us

Copyright © 2018 UPES - Tech Community | Dehradun. All Rights Reserved.