string finder using conditional statements by taking 3 string input from the user

Viewed 8

package com.stackroute.basics;

public class StringFinder { //Create Scanner object as instance variable

public static void main(String[] args) {
    //Get three strings from the user
}

public String getInput() {
    return null;
}

public void displayResult(int result) {
    //displays the result
}

public int findString(String searchString, String firstString, String secondString) {
    return 0;
}

public void closeScanner() {
}

}

0 Answers
Related