Table of Contents
Understanding Strings in Java: A Comprehensive Guide
🔒 Please log in to unlock this course.
ONLINE CLASSES BY RUMMAN ANSARI
Stuck on a Java Program? Ask Your Doubt Directly
Book a one-to-one session to get your questions answered, or message on WhatsApp for live online classes in Java Programming.
- 1:1 Mentoring
- Doubt Clearing
- Interview Preparation
Related Assignments
Assignment 1
Write a Java program to check whether a given string starts with the contents…
Locked. Enroll to open this assignment.
Assignment 2
Vowel Count and Consonant Count using Java
Locked. Enroll to open this assignment.
Assignment 3
Java program to extract words from a given sentence
Locked. Enroll to open this assignment.
Assignment 4
Write a Java program to compare a given string to the specified character…
Locked. Enroll to open this assignment.
Assignment 5
Write a Java program to create a unique identifier of a given string.
Locked. Enroll to open this assignment.
Assignment 6
Write a Java program to replace each substring of a given string that matches…
Locked. Enroll to open this assignment.
Assignment 7
Vowel Count using Java
Locked. Enroll to open this assignment.
Assignment 8
Write a Java program to concatenate a given string to the end of another string.
Locked. Enroll to open this assignment.
Assignment 9
Write a Java program to get the contents of a given string as a character array.
Locked. Enroll to open this assignment.
Assignment 10
Write a Java program to replace all the 'd' characters with 'f' characters.
Locked. Enroll to open this assignment.
Assignment 11
Write a Java program to trim any leading or trailing whitespace from a given…
Locked. Enroll to open this assignment.
Assignment 12
Write a Java program to concatenate a given string to the end of another string.
Locked. Enroll to open this assignment.
Assignment 13
Write a Java program to get the contents of a given string as a byte array.
Locked. Enroll to open this assignment.
Assignment 14
Write a Java program to find whether a region in the current string matches a…
Locked. Enroll to open this assignment.
Assignment 15
Write a Java program to convert all the characters in a string to uppercase.
Locked. Enroll to open this assignment.
Assignment 16
Write a java program to compare two strings lexicographically, ignoring case…
Locked. Enroll to open this assignment.
Assignment 17
Write a java program to print current date and time in the specified format.…
Locked. Enroll to open this assignment.
Assignment 18
Write a java program to get the length of a given string.
Locked. Enroll to open this assignment.
Assignment 19
Write a Java program to convert all the characters in a string to lowercase.
Locked. Enroll to open this assignment.
Assignment 20
Count the number of letters, digits and special symbol using java program
Locked. Enroll to open this assignment.
Assignment 21
Write a java program to compare two strings lexicographically.
Locked. Enroll to open this assignment.
Assignment 22
Write a Java program to compare a given string to another string, ignoring case…
Locked. Enroll to open this assignment.
Assignment 23
Write a Java program to get the last index of a string within a string. Sample…
Locked. Enroll to open this assignment.
Assignment 24
Write a Java program to convert all the characters in a string to lowercase.
Locked. Enroll to open this assignment.
Assignment 25
classify a character as a letter, digit, or special symbol using Java
Locked. Enroll to open this assignment.
Assignment 26
Write a java program to count a number of Unicode code points in the specified…
Locked. Enroll to open this assignment.
Assignment 27
Write a Java program to check whether two String objects contain the same data.
Locked. Enroll to open this assignment.
Assignment 28
Write a Java program to get the canonical representation of the string object.
Locked. Enroll to open this assignment.
Assignment 29
Write a Java program to create a character array containing the contents of a…
Locked. Enroll to open this assignment.
Assignment 30
Vowel count Consonant Count Space Count and Digit count using Java
Locked. Enroll to open this assignment.
Assignment 31
Write a Java program to get the character (Unicode code point) before the…
Locked. Enroll to open this assignment.
Assignment 32
Write a Java program to check whether a given string ends with the contents of…
Locked. Enroll to open this assignment.
Assignment 33
Write a Java program to get the index of all the characters of the alphabet.…
Locked. Enroll to open this assignment.
Assignment 34
Write a Java program to get a substring of a given string between two specified…
Locked. Enroll to open this assignment.
Assignment 35
Vowel Count Consonant Count and Space Count in Java
Locked. Enroll to open this assignment.
Assignment 36
Write a Java program to get the character (Unicode code point) at the given…
Locked. Enroll to open this assignment.
Assignment 37
Write a Java program to create a new String object with the contents of a…
Locked. Enroll to open this assignment.
Assignment 38
check if a number is a perfect number in Java
Locked. Enroll to open this assignment.
MCQ Section
MCQ 1
Give the output of the following program // Give the output of the following program fragment:…
Locked. Enroll to open this MCQ.
MCQ 2
What do the following functions return for: // Give the output of the following program fragment:…
Locked. Enroll to open this MCQ.
MCQ 3
Give the output of the following string methods: "MISSISSIPPI".indexOf('S') +…
Locked. Enroll to open this MCQ.
MCQ 4
Give the output of the following program fragment: // Give the output of the following program…
Locked. Enroll to open this MCQ.
MCQ 5
Give the output of the following program // Give the output of the following program fragment:…
Locked. Enroll to open this MCQ.
Get Java Programming Language updates by email
Short, practical lessons and course updates from Rumman Ansari. No spam.