From 806b67b68483cabbb684094fc80d0be65db02d9c Mon Sep 17 00:00:00 2001 From: Dustin Stump <36672172+dustinstump@users.noreply.github.com> Date: Tue, 16 Oct 2018 00:06:28 -0400 Subject: [PATCH] Added changes to "What can be inherited ?" section (#19147) --- client/src/pages/guide/english/java/inheritance/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/pages/guide/english/java/inheritance/index.md b/client/src/pages/guide/english/java/inheritance/index.md index 597e0058a7..6ddec4fd6d 100644 --- a/client/src/pages/guide/english/java/inheritance/index.md +++ b/client/src/pages/guide/english/java/inheritance/index.md @@ -50,7 +50,7 @@ Therefore, whenever you need to share some common piece of code between multiple ## What can be inherited ? -* All `protected` and `public` fields and methods from parent +* All `protected` and `public` members (fields, methods, and nested classes) from parent, regardless what package the sub-class is in. If a sub-class is in the same package as its parent, it will also inherit `package-private` members from parent. ## What cannot be inherited ?