building a test program in java
<p>Hello I am new to Java and NetBeans and am in Advanced classes in which my classes are 5 weeks long, so it is a lot to learn a new code language in 5 weeks. Anyways I have an assignment to Create a class named Movie that holds a movie name and rating. Provide methods to get and set both the movie name and rating. Create a class named TestMovie that creates three Movie instances with different values for name and rating and prints the information about each movie. I have done the code and it is passing the build fine but my professor wants a screen shot of the program working and running but I can't get NetBeans to bring that up. The chapter on building the test project was ripped out of my book. Can I get some help or pointers here is the code I have done: </p>

<pre><code>package movie;

/**
 * 
 * @author Jason
 */
public class Movie {
    String movieRating;

    public Movie(String rated, String mtitle) {
        this.mrating = rated;
        this.title = mtitle;
    }

    public void setRating(String Rating) {
        movieRating = Rating;
    }

    // Get the rating
    public String getRating() {
        return movieRating;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return title;
    }

    @Override
    public String toString() {
        return "Movie" + " title=" + getTitle() + " rating=" + getRating();
    }

    public static void main(String args[]) {
        Movie mv = new Movie("", "");
        mv.toString();
    }

    private String title;
    private String mrating;
}
</code></pre>
