How is inheritance in C++ different from Java? by Jyoti Negi - Saturday, 8 January 2022, 8:04 AM Number of replies: 1 How is inheritance in C++ different from Java? Permalink Reply In reply to Jyoti Negi Re: How is inheritance in C++ different from Java? by Ashutosh Bhatt - Monday, 10 January 2022, 2:24 PM In C++, we can use the multiple inheritance. In Java, we cannot create multiple inheritance directly. To reduce ambiguity, java supports interfaces to get the effect of multiple inheritance. Permalink Show parent Reply
In reply to Jyoti Negi Re: How is inheritance in C++ different from Java? by Ashutosh Bhatt - Monday, 10 January 2022, 2:24 PM In C++, we can use the multiple inheritance. In Java, we cannot create multiple inheritance directly. To reduce ambiguity, java supports interfaces to get the effect of multiple inheritance. Permalink Show parent Reply