Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //MasterJedi.java:
- public class MasterJedi {
- public long pesel;
- public MasterJedi(long i) {
- pesel = i;
- }
- class StudentJedi {
- public long pesel;
- public StudentJedi(String s, long j) {
- System.out.println(s + j);
- };
- }// koniec class StudentJedi
- public static void main(String args[]) {
- MasterJedi mj = new MasterJedi(90100903890L);
- System.out.println("PESEL mistrza to: " + mj.pesel);
- MasterJedi.StudentJedi sj = mj.new StudentJedi("PESEL + STUDENTA TO: ", mj.pesel);
- }
- }// koniec public class MasterJedi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement