parent/child variable classes

This commit is contained in:
mherbaghinyan 2018-05-07 16:17:56 +04:00
parent 0128224acc
commit 0ee2e1adfc
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,9 @@
package com.baeldung.scope.variable;
/**
* Created by Gebruiker on 5/7/2018.
*/
public class ChildVariable extends ParentVariable {
String instanceVariable = "parent variable";
}

View File

@ -0,0 +1,9 @@
package com.baeldung.scope.variable;
/**
* Created by Gebruiker on 5/7/2018.
*/
public class ParentVariable {
String instanceVariable = "parent variable";
}