Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static final String decodeInterfereWord(String src) {
        StringBuffer sb = new StringBuffer();
        for (int index = 0, size = src.length(); index < size; index++) {
            if (index % 2 == 0) {
                continue;
            }
            sb.append(src.charAt(index));
        }
        return sb.toString();
    }
}