Java Tutorial For Beginners 25 – Inheritance in Java

///Java Tutorial For Beginners 25 – Inheritance in Java

Java Tutorial For Beginners 25 – Inheritance in Java

FavoriteLoadingAdd to favorites

java inheritance constructor
java inheritance vs interface
java inheritance static variables
java inheritance static methods
java vererbung
java subclass
java extend class
java class declarationjava inheritance example
java inheritance example program
java polymorphism
java inheritance constructor
java multiple inheritance
java inheritance interview questions
java inheritance pdf
java inheritance definition

By |2017-06-01T00:16:22+00:00June 1st, 2017|Java Video Tutorials|31 Comments


  1. Android June 1, 2017 at 12:17 am - Reply

    Battery, Mic Please fix it..

  2. ty houge June 1, 2017 at 12:20 am - Reply

    My left ear enjoyed this!

  3. Pinkk Wormm June 1, 2017 at 12:22 am - Reply

    i was so angry ,I almost destroy my left headphone…and yea…you ware

  4. Shimanto Akbar June 1, 2017 at 12:23 am - Reply

    i wish i saw this videos before. after 30 hours my exam.

  5. Mohammad Alam June 1, 2017 at 12:23 am - Reply

    Tutorials are very good but some background noise, still it is free tutorial. πŸ™‚

  6. Gerardo Olvera Puente June 1, 2017 at 12:24 am - Reply

    Really good videos, thanks dude!

  7. Rishi Rana June 1, 2017 at 12:24 am - Reply

    hey for the past couple of videos theres static in the right side for sound. the only sound coming is from the left. thank youΒ 

  8. rahat nagpal June 1, 2017 at 12:27 am - Reply

    can u provide a small project that someone is able to make after watching your videos.. so that i can know how much proficiency i have in java

  9. Dinesh Sevalia June 1, 2017 at 12:28 am - Reply

    There is some audio problem +ProgrammingKnowledge

  10. Max Hart June 1, 2017 at 12:29 am - Reply

    What’s with the 1 fps???

  11. lance delacruz June 1, 2017 at 12:30 am - Reply

    rec.set_values(10, 10);
    tri.set_values(10, 10); cant work, on the problems tab it says:Description Resource Path Location Type
    The method set_values(int, int) is undefined for the type Rectangle /JavaProject6/src/package6 line 11 Java Problem

  12. sahej manchanda June 1, 2017 at 12:31 am - Reply

    why did u use it can be done without set values may be we have to set 1 by 1 in main thatswhy

  13. Pranjal Pathak June 1, 2017 at 12:32 am - Reply

    You need to be one ear deaf to listen to this fucking shit tutorial.

  14. Mohammed Kalache June 1, 2017 at 12:33 am - Reply

    Thanks for the videos , very helpful , just few comments.

    your voice is not clear not only because the left earphone error , you’re far away from Microphone or it’s not a good one.

    Also you repeat your self many times. sometimes it’s helpful and other times it’s very irritating.

    hope this series will improve and show us real java not only methods and calculations.

    we haven’t any interface or display window.

    But in total it’s a very helpful series and thanks for uploading this and share with us your experiences

  15. mohit saraswat June 1, 2017 at 12:35 am - Reply

    Please solve the sound problem. Otherwise the tutorials are awesome.

  16. BEERS 'n GEARS June 1, 2017 at 12:41 am - Reply

    Do you hear the chirp sound every 37 seconds? Yes that is your smoke detector. It has a dead battery. Replace the battery…. jesus christ.

    Also, most of your video is in mono audio. What that means is that your voice only comes out of one speaker and static comes out of the other one. It is highly annoying, fix it.

  17. sanda dheeraj June 1, 2017 at 12:44 am - Reply

    syso ctrl+shift is not working in my eclipse. why???????

  18. Oliver Waller June 1, 2017 at 12:45 am - Reply

    Get creative with it. Only a few hours in and I feel like I am learning quite a bit. Try getting user input for height and width like this one:

    public static void main(String[] args) {

    Rectangle rec = new Rectangle();

    System.out.println("Area of a Rectangle");
    System.out.println(" ——————-");
    System.out.println("| |");
    System.out.println("| |");
    System.out.println("| |");
    System.out.println(" ——————-");
    System.out.println("Enter height of Rectangle");
    Scanner scan = new Scanner(;
    double user_input_rec_height = scan.nextDouble();

    System.out.println("Enter width of Rectangle");
    Scanner scan1 = new Scanner(;
    double user_input_rec_width = scan.nextDouble();

    rec.height = user_input_rec_height;
    rec.width = user_input_rec_width;
    System.out.println("The area of the rectangle is " +rec.area());

    Triangle tri = new Triangle();
    System.out.println("Area of a Triangle");
    System.out.println(" <>");
    System.out.println(" [][]");
    System.out.println(" [] []");
    System.out.println(" [] []");
    System.out.println(" [] []");
    System.out.println(" [] []");
    System.out.println(" [][][][][][][]");
    System.out.println("Enter height of Triangle");
    Scanner scan2 = new Scanner(;
    double user_input_tri_height = scan.nextDouble();

    System.out.println("Enter width of Triangle");
    Scanner scan3 = new Scanner(;
    double user_input_tri_width = scan.nextDouble();

    tri.height = user_input_tri_height;
    tri.width = user_input_tri_width;
    System.out.println("The area of the rectangle is " +tri.area());

  19. Shireen Naaz June 1, 2017 at 12:48 am - Reply

    I don’t know why but this is only audible in right ear but not left,first I thought it’s my earpiece fault,but it’s working fine,please correct the audio settings of your video

  20. Angel Hadzhiev June 1, 2017 at 12:49 am - Reply

    Bro i can tell you that you explain everything better than my professor πŸ˜€ i love your videos πŸ™‚

  21. Vaishnu Reddy June 1, 2017 at 12:49 am - Reply

    can u upload more videos in java

  22. Hong Ln June 1, 2017 at 12:50 am - Reply

    why we need to set those two variables "protected" instead of in normal form, such as int height; int width?

  23. Nadim Baraky June 1, 2017 at 12:52 am - Reply

    There’s a small issue in the area() in Rectangle class. You must cast the height*width to (double) before dividing by 2.
    Here by chance the result was true. If it were say 50.xx it’ll be also 50. Since it’s applying "Integer division" & then, returning it as a double.

  24. Jorge Jaramillo June 1, 2017 at 12:53 am - Reply

    Thank you! I’ve been following since video 1. They have been so helpful!

  25. Tabish Khan June 1, 2017 at 12:53 am - Reply

    Excellent videos. Kindly look into the audio issues, please. πŸ™‚

  26. Alisha A June 1, 2017 at 12:59 am - Reply

    love this tutorial. but that smoke alarm is driving me nuts

  27. Omar Taha June 1, 2017 at 12:59 am - Reply

    man plz fix your mic issue……….. your tutoriels are great but when we can hear them πŸ™

  28. ThatsRight June 1, 2017 at 1:07 am - Reply

    U don’t need to start with Protected… choose Private

  29. E Kennedy June 1, 2017 at 1:07 am - Reply

    These turorials have been great.Β  Thanks for the time you seent doing them.

  30. Christopher Murray June 1, 2017 at 1:10 am - Reply

    You should change the batteries inΒ  your smoke alarm.

  31. Kurt Mani June 1, 2017 at 1:10 am - Reply

    Enjoying the tutorials very much.

Leave A Comment