Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Help with a java assignment!

It's for an assignment in my Intro to Comp Prog. so I'm definitely a beginner. Here's the assignment, I've been working on it for over a week, and it seems like it would be simple, but I cannot figure it out..

it's an assignment in DrJava, HERE IT IS:

Define a class named PhotoOps. Like you did in your last programming assignment,
define the class with a String instance variable named _filename, and Picture
instance variable named _picture. Define the constructor so that it accepts a String
as an argument; the String passed in should be the name of a file in the

/eng/class/notes/cse113/intro-prog-java/mediasources/

directory. Assign to _filename the result of combining the String
«1

Comments

«1
Sign In or Register to comment.