 public class MediaCheck {
 }

import java.awt.Image;
import java.net.URL;

public class MediaCheck {

    public static void media(URL url) {

	    Image image = null;
    }
 }

Create a method which contains URL as argument and create an Image variable
Create a method which contains URL as argument and create an Image variable
