Advertisement
niske

Main

Dec 2nd, 2024
10
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. import java.io.IOException;
  2. import java.util.Arrays;
  3.  
  4. public class Main {
  5. public static void main(String[] args) throws IOException{
  6. Sokovnik s = new Sokovnik(1.0);
  7.  
  8. System.out.println("Zapremina: " + s.zapremina());
  9. System.out.println("Broj voca u sokovniku" + s.komada());
  10. s.cedi();
  11. }
  12. }
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement