Created
May 31, 2017 19:38
-
-
Save dileeph/38181fe0684a061ba7665e55561b9cee to your computer and use it in GitHub Desktop.
depths java classes.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.y.d1; | |
import com.y.d2.Depth2; | |
public class Depth1 { | |
public String call(String x){ | |
Depth2 d2 = new Depth2(); | |
return "data service " + d2.call(x); | |
} | |
} | |
=============================================== | |
package com.y.d2; | |
import com.y.d3.Depth3; | |
public class Depth2 { | |
public String call(String x){ | |
Depth3 d3 = new Depth3(); | |
return "depth2 " + d3.call(x); | |
} | |
} | |
========================================== | |
package com.y.d3; | |
public class Depth3 { | |
public String call(String x){ | |
return "depth3 " + x; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment