Skip to content

suryasomasundar/stringProblem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

stringProblem

Define a Java class to solve this problem:
Given a String and a Character, remove all instances of the Character in the String

Solve this two ways:

  1. Iterate through the String, one character at a time
  2. Find a method in the String class that can solve this in one line

Write methods for each solution.

Afterwards, write a TestNG or JUnit class for each solution which tests these methods.
Include both positive and negative cases for validations.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%