0

i have a problem with a photocopying machine task i need to right class called photocopier and add the code to create the instance variables

powerStatus, an integer instance variable ( -1= standby, 0=Off and 1 =On)
letter, a string instance variable for (none, general, form,menu and paper)
copying a boolean instant variable
copytime a double variable representing the time of the current printing job

Any Help would be fantastic

2
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by masijade
0

Okay? So, what, exactly, is your problem with that?

Post your code, any and all error/compiler messages, and/or a brief description of expected vs. actual bahaviour/output.

0

i am very new to java and am stuck righting the code to create the instance variables?

0
public class photocopier

photocopier () {

	int powerstatus( -1Standy. 0=Off and 1= ON)
	string jobType
	string paperSize
	String paperColour
	boolean copying
	double Copying

}public class photocopier

photocopier () {

	int powerstatus( -1Standy. 0=Off and 1= ON)
	string jobType
	string paperSize
	String paperColour
	boolean copying
	double Copying

}

Edited by peter_budo: Keep It Clear - Do wrap your programming code blocks within [code] ... [/code] tags

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.