Skip to content

ngsmithhotmailcom/stringProblem

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 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

Watchers

Forks

Releases

No releases published

Packages

No packages published