this is a simple program i wrote; i have to use this Picture.class file that my professor provided, and thus i am having a lot of trouble undertand how to use the file with the program. eventually i will have to manipulate the image itself, but right now i can't even display it.
i am getting one error when i try to compile, read as: java/image/Picture.java:1: <identifier> expected
import Picture.class;
public class Picture
{
public static void main(String[] args){
Picture pic = new Picture("caterpillar.jpeg");
pic.showImage();
}
}
any ideas?