Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- personPola
- package ludzieeeee;
- public class personPola {
- String fn;
- int wiek;
- String ln;
- double weight;
- public personPola(String fn, String ln,int wiek, double weight ) {
- this.fn = fn;
- this.ln = ln;
- this.wiek = wiek;
- this.weight = weight;
- }
- }
- person
- package ludzieeeee;
- public class Person {
- public static void person(String[] args) {
- personPola person = new personPola("Maks", "Rogalski", 14, 55);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement