hiya i am looking if someone can help me create this in java there is an attachments alongside this
furqanishaq
0
Newbie Poster
Recommended Answers
Jump to Postthe code for this is extremely simple and has only basic functionality. what do you have so far? what are you having problems with?
Jump to Postyou'll need to put them all in a certain scope.
step 1: create your class 'Control1'
according to your assignment, this has just 1 variable in it, an int called output.
step 2: add a method that takes two params, input and type. you don't pass output, since you already …
Jump to Postyou don't need to have your bytes in your class scope, only in your first method. so:
public class Control1{ int output; // this is your ONLY class variable!! public void input(byte input, byte type){ // you already have output, you don't need to pass it as …
Jump to Postas I said, this is very basic material.
just paste the code you've tried and isn't working in the thread. I can't find any errors based on the information that 'it's not working'
All 15 Replies
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
furqanishaq
0
Newbie Poster
furqanishaq
0
Newbie Poster
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.