daily pastebin goal
32%
SHARE
TWEET

Untitled

a guest May 16th, 2018 104 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Test {
  2.  
  3.     public static void main(String[] args) {
  4.  
  5.     Lik l=new Lik();
  6.     l.narisiLik();
  7.     }
  8. }
  9.  
  10. -----------------------------
  11. public class
  12.  
  13. public class Lik{
  14. protected boolean[][] vsebina;
  15.     public Lik() {
  16.         this.vsebina=vsebina;
  17.     }
  18.     public void narisiLik() {
  19.         for(int i=0;i<vsebina.length;i++) {
  20.             for(int j=0;j<vsebina[i].length;j++) {
  21.             System.out.print(vsebina[i][j] ? '*' : '-');
  22.             }
  23.             System.out.println();
  24.         }
  25.     }
  26.  
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top