Advertisement
jaVer404

level11.lesson11.home09

May 6th, 2015
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.55 KB | None | 0 0
  1. package com.javarush.test.level11.lesson11.home09;
  2.  
  3. /* Четвертая правильная «цепочка наследования»
  4. Расставь правильно «цепочку наследования» в классах: House (дом), Cat (кот), Dog(собака), Car (машина).
  5. */
  6.  
  7. public class Solution
  8. {
  9.     public static void main(String[] args)
  10.     {
  11.     }
  12.  
  13.     public class House
  14.     {
  15.  
  16.     }
  17.  
  18.     public class Cat
  19.     {
  20.  
  21.     }
  22.  
  23.     public class Car
  24.     {
  25.  
  26.     }
  27.  
  28.     public class Dog
  29.     {
  30.  
  31.     }
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement