Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6562585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:43:36+00:00 2026-05-25T13:43:36+00:00

I have a background in java, and I’m learning python. I’ll need to be

  • 0

I have a background in java, and I’m learning python. I’ll need to be using inheritance soon, and I want to find out what any key differences are between how things are done in each of them. I’ve had a look online and found some information about differences between the two and what to look out for, and I’ve found that python supports multiple inheritance, but I’d like to know about any other differences specific to inheritance. I don’t need to be told syntax (unless there is something I really need to watch out for), I’ve already taken a look at it and I’ll be fine with that.

Python is not Java
Python classes: Multiple Inheritance
Python for Java programmers

I can’t really find exactly what I’m looking for which is an overview of differences and what to watch out for.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:43:36+00:00Added an answer on May 25, 2026 at 1:43 pm

    Java has a fairly straightforward inheritance model: classes must have one (and only one) parent . You can’t inherit from multiple parents, although you can implement multiple interfaces, which can be seen as Java’s version of “multiple inheritance.”

    Most methods in Java classes are dynamically (late) bound, with the exception of methods declared static, private and final in the parent class.

    In Python, as you have noted, you can inherit from multiple (or no) parents. Note that with multiple inheritance you can get the “diamond problem.” You should be aware of how Python resolves that and the implications this has when you refer to a parent class in Python (ie: who’s your daddy?)

    In Python, everything is dynamically bound, and since you can add members to an instance, not all instances of the same class are guaranteed to have the same members.

    Finally, there’s a slight difference in how constructors are overridden: In Java, children classes must call the parent’s constructor (refinement overriding), whereas in Python children classes can override the constructor and not call the parent’s constructor (replacement overriding).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have background of Java and Python and I'm learning R recently. Today I
I come from a Java background and have been using C# for the last
I come from Java Background and so used to Debugging using Eclipse but have
I'm learning android but have a pretty fair background in java so am a
G'Day Programmers, I am from Java background however I have just started learning C++
In short, my need is to have a background Image in my java app,
I am a newbie using C++ and I have a background with Java I
Coming from a Java background, I want a class to have certain attributes and
Hi I have background in Java and currently learning C++. In Java it is
I am using C# having come from a Java background - I have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.