Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package readfile;
- import java.io.File;
- import java.util.Scanner;
- /**
- *
- * @author Max
- */
- public class ReadFile {
- public static void main(String[] args) {
- fileread obj = new fileread();
- String filepath = "I:\\ducks.txt";
- String searchName = "Daf";
- obj.readFile(searchName,filepath);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement