/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Main.java to edit this template
 */
package konsolowa;

import java.util.Scanner;

/**
 *
 * @author mateo
 */
public class Konsolowa {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Scanner sc = new Scanner(System.in);
        Film film1 = new Film();
        
        
        String tytul = "Zabili go i uciekl"; 
        
        System.out.println(tytul);
        
        film1.setTytul(tytul);
        film1.setLiczbaWypozyczen(4);
        
        
        System.out.println("Film1 tytul:" + film1.getTytul());
        System.out.println("Film1 liczba wypozyczen: " + film1.getLiczbaWypozyczen());
        
        film1.wypozycz();
        
        System.out.println("Film1 liczba wypozyczen po wywowaniu metody wypozycz: " + film1.getLiczbaWypozyczen());
    }
    
}
