parent/child variable classes
This commit is contained in:
parent
0128224acc
commit
0ee2e1adfc
@ -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";
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.baeldung.scope.variable;
|
||||
|
||||
/**
|
||||
* Created by Gebruiker on 5/7/2018.
|
||||
*/
|
||||
public class ParentVariable {
|
||||
|
||||
String instanceVariable = "parent variable";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user