- Write a java program to count the total number of occurrences of a given character in a string without using any loop? For Example- Java is java again java again count number of occurrence of a in the given string
- Write a program to replace all d with f and all l with t in the given String Input: daily dry Output: faity fry Original string : daily dry New String : faity fry
- Write a program that sets up a String variable containing a paragraph of text of your choice. a. Extract the words from the text and sort them into alphabetical order. b. Display the sorted list of words.
- Write a program to transpose the given string . Input String : a quick brown fox jumps over the lazy dog Output String : a kciuq nworb xof spmuj revo eht yzal god
- Write a program with the implementation of Regular Expression to find the presence of the name Harry in a string . Input: This is Harry. Output: Is Harry here ? true Input : This is Henry. Output: Is Harry here ? False
- Write a program to find out the multiple occurrences of the given word in a string using Matcher methods. Input : She sells seashells by the seashore Given word: se Output : Found at: 4 - 6Found at: 10 - 12 Found at: 27 – 29
java-pe4's Introduction
java-pe4's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.