Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.javarush.test.level11.lesson11.home02;
- /* AppleIPhone и SamsungGalaxyS2
- Написать два класса AppleIPhone и SamsungGalaxyS2.
- Унаследовать SamsungGalaxyS2 от AppleIPhone.
- */
- public class Solution
- {
- public static void main(String[] args)
- {
- }
- public class AppleIPhone
- {
- }
- public class SamsungGalaxyS2 extends AppleIPhone
- {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement