Joined
Last Seen
0 Reputation Points
0% Quality Score
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
0 Endorsements
Ranked #107.55K
1 Posted Topic
Re: public class Bilang { public static void main(String[]args) { Counter b0 = new Counter(); Counter b1 = new Counter(); Counter b2 = new Counter(); Counter b3 = new Counter(); b0.setNext(b1); b1.setNext(b2); b2.setNext(b1); b3.setNext(null); System.out.println("count"); System.out.println("exit"); } public void count() { if(b==0){ b=1; }else{ b0=0; if(next.count(b1)); } if(b1==0){ b1=1; }else{ b1=0; … |
The End.