Lesson 67 Strings - Part 9 - concat() split() and + operator of String class

Опубликовано: 01 Январь 1970
на канале: JavaJourneyWithMadhavi
12
2

In this video, the methods concat(), split() and + operator are explained with the help of five programs in the Java environment.

Link to the Book - Essentials of Computer Applications:

https://www.amazon.in/Essentials-Comp...

Link to Lesson 22: While loop - reverse a number program:
   • Lesson 22 The while loop in Java - Extract...  

Practice Exercise 67: concat, split and + operator:
1. Read two strings and concatenate them.
2. Add two strings “Hello” with “How are You” and display.
3. Guess output System.out.println(“Hands on ”.concat(“ Exercise”));
4. Read string with more than two words and split at each space and display.
5. Display a menu with the following options
1. Reverse a string
2. Check a string is palindrome or not
3. Exit
Depending on the choice do the needful.