Day: December 25, 2018

Frequently Asked Java Program 27: Java Program to Find Occurrence of Any Char in a Given String Without Iterating

Problem Statement: Find occurrence of given char  (Ignore case)  in given string without iterating through string. Input – Make Selenium Easy Char – ‘M’ Output- Occurrence of M is 2. Problem Solution: We need to solve this problem without iterating through string in search of character. Its simple. Logic step by step: FInd the initial length […]

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.