Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package kolol1;
- public class KoloL1 {
- public static void main(String[] args) {
- JakasKlasa obiekt1 = new JakasKlasa();
- for(int i=0; i<10; i++){
- if(obiekt1.getLiczba() == 0){
- obiekt1.setLiczba(1);
- }
- else {
- obiekt1.setLiczba(0);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement