Interview Question based on String

/*Java Program to count vowels and consonants in String*/

package com.string;

/*How to check if two String are Anagram in Java
if they contains same characters but on different order e.g. army and mary, stop and pots etc. Anagrams*/
package com.string;

How to reverse String in Java using


/*Write a Java program to find the first non-repeated character in a String*/

String containing first letter of every word in a given string with spaces
input-”String containing first letter o” — — output is : Scflo

Java||Spring-Boot|| Micro services Application developer|| INDIA

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

AutoScraper! Web Scraping without Beautiful Soup and Selenium

Seamless Integration of Linux env. onto Windows

Microsoft Exam 70–483 — Programming in C#: Overview and Journey’s Setup

8 Week SQL Challenge: Case Study #1 — Danny’s Diner

Let the information come to you

Power BI for Business Users #01 — Architecture approaches to leverage the Power BI Service with a…

Navigating an Unfamiliar Codebase (With Github & VSCode)

How to streamline data processing with no-code tools

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sanjay Singh

Sanjay Singh

Java||Spring-Boot|| Micro services Application developer|| INDIA

More from Medium

ARTS Week 15

Most Asked Java Interview Questions — Set 1

Java Interview questions for 0 to 2 Years of experience

Drawing Book | HackerRank Problem | Java Solution