Skip to content

Instantly share code, notes, and snippets.

@dileeph
Created May 31, 2017 19:38
Show Gist options
  • Save dileeph/38181fe0684a061ba7665e55561b9cee to your computer and use it in GitHub Desktop.
Save dileeph/38181fe0684a061ba7665e55561b9cee to your computer and use it in GitHub Desktop.
depths java classes.java
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