Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean containKeyWords(String objectString, String firMatchString, String secMatchString,
            String thrMatchString) {
        if (objectString.contains(firMatchString) || objectString.contains(secMatchString)
                || objectString.contains(thrMatchString)) {
            return true;
        } else {
            return false;
        }

    }
}