Advertisement
bigLiukTheory

Creatore.java

Jun 25th, 2013
779
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. public class Creatore
  2. {
  3.     public static void main(String[] args)
  4.     {
  5.         Persona io = new Persona("Luca", "bigLiukTheory", 'm');
  6.         Persona lei = new Persona("Stefania", "Tahva", 'f');
  7.        
  8.         io.stampaPersona();
  9.         lei.stampaPersona();
  10.        
  11.         int nIo = io.contaCaratteriNome();
  12.         int nLei = lei.contaCaratteriNome();
  13.        
  14.         System.out.println(nIo);
  15.         System.out.println(nLei);
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement