JAVA

[Exercise] 001.Guess The Movie

1. Intro <This is exercise Java code> Guess the Movie title   2. Source Code package com.company; import java.io.File; import java.io.FileNotFoundException; import java.util.Scanner; public class Main { public static void main(String[] args) throws FileNotFoundException { FileControl filecontrol = new FileControl(); CheckValue checkvalue = new CheckValue(); String movieName = filecontrol.getMovieName(); String movieGuess = movieName.replaceAll(“[A-Z,a-z,0-9]”,”_”); if (checkvalue.playGame(movieName, […]

Continue Reading
Back To Top