• Home
  • Free Trial
  • Sign In
  • Techdegree
  • Tracks
  • Library
  • Community
  • Support
  • Jobs
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • 21st Century Skills
      • • Android
      • • APIs
      • • Business
      • • C#
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Equity, Diversity, and Inclusion (EDI)
      • • Go
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • PHP
      • • Python
      • • Quality Assurance
      • • Ruby
      • • Security
  • Bankole Abawonse
    Bankole Abawonse
    9,021 Points

    Calling non-static method on a class

    Posted May 23, 2022 3:03pm by Bankole Abawonse
    Bankole Abawonse
    9,021 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Casting Instances

    1 Answer

  • Maryam Kamar
    Maryam Kamar
    2,547 Points

    i understood the concept, but can't we just make everything in the animal class abstract then? e.g. makeSound()

    Posted February 14, 2022 1:15pm by Maryam Kamar
    Maryam Kamar
    2,547 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Abstracting Abstract Classes

    0 Answers

  • Maryam Kamar
    Maryam Kamar
    2,547 Points

    I'm still unsure about what casting does :/

    Posted February 12, 2022 12:10pm by Maryam Kamar
    Maryam Kamar
    2,547 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    1 Answer

  • Amirmasoud jalali
    PLUS
    Amirmasoud jalali
    Courses Plus Student 947 Points

    Can not making dog object!!!

    Posted November 2, 2021 7:47am by Amirmasoud jalali
    Amirmasoud jalali
    Courses Plus Student 947 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Introducing Inheritance

    1 Answer

  • Rene Pipersburgh
    Rene Pipersburgh
    2,275 Points

    Fill in the blank to force the children of our Factory class to implement their own 'make Thing' method.

    Posted June 22, 2021 4:40am by Rene Pipersburgh
    Rene Pipersburgh
    2,275 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Abstract Equality

    0 Answers

  • Abigail Edwards
    Abigail Edwards
    2,890 Points

    Which of these sets of hashcodes should not be possible? I am not sure what the pattern is asking for

    Posted June 22, 2021 12:02am by Abigail Edwards
    Abigail Edwards
    2,890 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Override

    0 Answers

  • Jason Williamson
    Jason Williamson
    6,426 Points

    Teacher notes

    Posted May 22, 2021 1:38pm by Jason Williamson
    Jason Williamson
    6,426 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Introducing Inheritance

    1 Answer

  • Travis Sly
    Travis Sly
    3,947 Points

    Question to solidify the concept a bit further

    Posted May 10, 2021 3:43am by Travis Sly
    Travis Sly
    3,947 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Equality

    0 Answers

  • Dinu Comendant
    Dinu Comendant
    6,049 Points

    ((Animal) object.makeSound())

    Posted October 16, 2020 4:31pm by Dinu Comendant
    Dinu Comendant
    6,049 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Casting Instances

    1 Answer

  • Bolatito Seriki
    Bolatito Seriki
    1,170 Points

    Please fill in the correct answer in each blank provided below.

    Posted September 4, 2020 1:53pm by Bolatito Seriki
    Bolatito Seriki
    1,170 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    0 Answers

  • Omar Ahmed
    Omar Ahmed
    4,409 Points

    What code is missing here?

    Posted May 28, 2020 7:17am by Omar Ahmed
    Omar Ahmed
    4,409 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Override

    1 Answer

  • Omar Ahmed
    Omar Ahmed
    4,409 Points

    which operator for the dog question

    Posted May 28, 2020 7:01am by Omar Ahmed
    Omar Ahmed
    4,409 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    1 Answer

  • Jake Lee
    Jake Lee
    2,789 Points

    What's a hashcode?

    Posted May 25, 2020 2:44am by Jake Lee
    Jake Lee
    2,789 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Override

    1 Answer

  • Jake Lee
    Jake Lee
    2,789 Points

    What is Intellij?

    Posted May 24, 2020 8:14pm by Jake Lee
    Jake Lee
    2,789 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Introducing Inheritance

    3 Answers

  • pratyush raj
    pratyush raj
    7,097 Points

    what is casting and override???

    Posted April 22, 2020 8:44am by pratyush raj
    pratyush raj
    7,097 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Super Override

    1 Answer

  • Anejah Daniels
    Anejah Daniels
    2,417 Points

    Why am I receiving cannot refer to instance field when explicitly invoking a constructor after changing Dog constructor?

    Posted April 13, 2020 11:37pm by Anejah Daniels
    Anejah Daniels
    2,417 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Abstracting Abstract Classes

    1 Answer

  • Vuyolwenkosi Tshuma
    Vuyolwenkosi Tshuma
    4,830 Points

    I don't understand how my solution is incorrect

    Posted March 6, 2020 10:09am by Vuyolwenkosi Tshuma
    Vuyolwenkosi Tshuma
    4,830 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    1 Answer

  • Ajay Shah
    PLUS
    Ajay Shah
    Courses Plus Student 1,181 Points

    I am not getting it.

    Posted October 3, 2019 5:45pm by Ajay Shah
    Ajay Shah
    Courses Plus Student 1,181 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    1 Answer

  • Maisie Todd
    Maisie Todd
    4,137 Points

    .hashCode() problem

    Posted August 29, 2019 10:55pm by Maisie Todd
    Maisie Todd
    4,137 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Methods

    2 Answers

  • Rafał Stasiak
    Rafał Stasiak
    3,763 Points

    Proper cast

    Posted July 31, 2019 3:45pm by Rafał Stasiak
    Rafał Stasiak
    3,763 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    1 Answer

  • Fernando Boza
    Fernando Boza
    25,384 Points

    trying to add a parameter to a constructor but getting a message

    Posted July 29, 2019 2:49am by Fernando Boza
    Fernando Boza
    25,384 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Equality

    1 Answer

  • adambachmann
    adambachmann
    15,044 Points

    Missing teachers notes in Java Introducing Inheritance video

    Posted June 20, 2019 5:31pm by adambachmann
    adambachmann
    15,044 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Introducing Inheritance

    1 Answer

  • Sebastian Nawrocki
    PLUS
    Sebastian Nawrocki
    Courses Plus Student 2,057 Points

    What code is missing to get through to Bird constructor (parent class)?

    Posted May 14, 2019 6:07pm by Sebastian Nawrocki
    Sebastian Nawrocki
    Courses Plus Student 2,057 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Override

    1 Answer

  • Phoenix S.
    Phoenix S.
    2,456 Points

    I think there's a bug in the first Inheritance quiz

    Posted January 28, 2019 2:22pm by Phoenix S.
    Phoenix S.
    2,456 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Everything Inherits from Object

    3 Answers

  • Chi Nathan Maduakor
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    Chi Nathan Maduakor
    Full Stack JavaScript Techdegree Student 8,759 Points

    What code is missing to call through to the Bird's constructor? Could someone tell me what is wrong with my answer here?

    Posted October 6, 2018 9:08am by Chi Nathan Maduakor
    .a{fill-rule:evenodd;}techdegree
    Chi Nathan Maduakor
    Full Stack JavaScript Techdegree Student 8,759 Points
    • Java
    • Inheritance in Java
    • Inheritance in Java
    • Object Override

    1 Answer

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Web Development
  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Perks
  • Treehouse for Libraries
  • Treehouse for Teams
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2022 Treehouse Island, Inc.