[JAVA-621] core-java-lang-oop-inheritance module

* Creation

* Moved code from https://www.baeldung.com/java-anonymous-classes

* Moved code from www.baeldung.com/java-polymorphism

* Moved code from www.baeldung.com/java-inheritance

* Moved code from www.baeldung.com/java-variable-method-hiding

* Moved code from https://www.baeldung.com/java-type-casting

* Moved code from https://www.baeldung.com/java-super

* Moved code from www.baeldung.com/java-interfaces

* Moved code from www.baeldung.com/java-abstract-class

* Moved code from www.baeldung.com/java-inner-interfaces

* Moved article references to the new README.md
This commit is contained in:
dupirefr 2020-04-04 11:09:04 +02:00
parent a6846bb1ca
commit 654de59bbf
63 changed files with 44 additions and 25 deletions

View File

@ -3,6 +3,5 @@
This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Anonymous Classes in Java](https://www.baeldung.com/java-anonymous-classes)
- [Java equals() and hashCode() Contracts](https://www.baeldung.com/java-equals-hashcode-contracts)
- [[<-- Prev]](/core-java-modules/core-java-lang-oop)[[More -->]](/core-java-modules/core-java-lang-oop-3)

View File

@ -4,6 +4,4 @@ This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Pass-By-Value as a Parameter Passing Mechanism in Java](https://www.baeldung.com/java-pass-by-value-or-pass-by-reference)
- [Guide to the super Java Keyword](https://www.baeldung.com/java-super)
- [Java Interfaces](https://www.baeldung.com/java-interfaces)
- [[<-- Prev]](/core-java-modules/core-java-lang-oop-2)[[More -->]](/core-java-modules/core-java-lang-oop-4)

View File

@ -0,0 +1,14 @@
## Core Java Lang OOP - Types
This module contains articles about types in Java
### Relevant Articles:
- [Java Interfaces](https://www.baeldung.com/java-interfaces)
- [Abstract Classes in Java](https://www.baeldung.com/java-abstract-class)
- [A Guide to Inner Interfaces in Java](https://www.baeldung.com/java-inner-interfaces)
- [Guide to the super Java Keyword](https://www.baeldung.com/java-super)
- [Anonymous Classes in Java](https://www.baeldung.com/java-anonymous-classes)
- [Polymorphism in Java](https://www.baeldung.com/java-polymorphism)
- [Guide to Inheritance in Java](https://www.baeldung.com/java-inheritance)
- [Object Type Casting in Java](https://www.baeldung.com/java-type-casting)
- [Variable and Method Hiding in Java](https://www.baeldung.com/java-variable-method-hiding)

View File

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>core-java-lang-oop-modules</artifactId>
<groupId>com.baeldung.core-java-lang-oop-modules</groupId>
<version>1.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>core-java-lang-oop-inheritance</artifactId>
<name>core-java-lang-oop-inheritance</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<assertj-core.version>3.10.0</assertj-core.version>
</properties>
</project>

View File

@ -1,6 +1,4 @@
package com.baeldung.keyword;
import com.baeldung.keyword.superkeyword.SuperSub;
package com.baeldung.keyword.superkeyword;
/**
* Created by Gebruiker on 5/14/2018.

View File

@ -5,7 +5,5 @@ This module contains articles about types in Java
### Relevant Articles:
- [Java Classes and Objects](https://www.baeldung.com/java-classes-objects)
- [Guide to the this Java Keyword](https://www.baeldung.com/java-this)
- [Abstract Classes in Java](https://www.baeldung.com/java-abstract-class)
- [Nested Classes in Java](https://www.baeldung.com/java-nested-classes)
- [A Guide to Inner Interfaces in Java](https://www.baeldung.com/java-inner-interfaces)
- [Marker Interfaces in Java](https://www.baeldung.com/java-marker-interfaces)

View File

@ -12,17 +12,4 @@
<artifactId>core-java-lang-oop-types</artifactId>
<name>core-java-lang-oop-types</name>
<packaging>jar</packaging>
<dependencies>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj-core.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<assertj-core.version>3.10.0</assertj-core.version>
</properties>
</project>

View File

@ -20,5 +20,6 @@
<module>core-java-lang-oop-generics</module>
<module>core-java-lang-oop-modifiers</module>
<module>core-java-lang-oop-types</module>
<module>core-java-lang-oop-inheritance</module>
</modules>
</project>

View File

@ -4,12 +4,8 @@ This module contains articles about Object-oriented programming (OOP) in Java
### Relevant Articles:
- [Guide to hashCode() in Java](https://www.baeldung.com/java-hashcode)
- [Polymorphism in Java](https://www.baeldung.com/java-polymorphism)
- [Method Overloading and Overriding in Java](https://www.baeldung.com/java-method-overload-override)
- [How to Make a Deep Copy of an Object in Java](https://www.baeldung.com/java-deep-copy)
- [Guide to Inheritance in Java](https://www.baeldung.com/java-inheritance)
- [Object Type Casting in Java](https://www.baeldung.com/java-type-casting)
- [Type Erasure in Java Explained](https://www.baeldung.com/java-type-erasure)
- [Variable and Method Hiding in Java](https://www.baeldung.com/java-variable-method-hiding)
- [Object-Oriented-Programming Concepts in Java](https://www.baeldung.com/java-oop)
- [[More -->]](/core-java-modules/core-java-lang-oop-2)