MainClass.java Source code

Java tutorial

Introduction

Here is the source code for MainClass.java

Source

import org.apache.commons.lang.CharSetUtils;

public class MainClass {
    public static void main(String[] args) {

        //Removes specified character repetitions  
        System.out.println("Squeeze B and o = " + CharSetUtils.squeeze("BBoooorisbbbecker", "Bo"));
    }
}