forked from fuzhengwei/interview
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e9256e6
commit 5cbf5c5
Showing
2 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
interview-31/src/test/java/org/itstack/interview/test/ABTest.java
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package org.itstack.interview.test; | ||
|
||
/** | ||
* 博客:https://bugstack.cn - 沉淀、分享、成长,让自己和他人都能有所收获! | ||
* 公众号:bugstack虫洞栈 | ||
* Create by 小傅哥(fustack) | ||
*/ | ||
public class ABTest { | ||
|
||
public static void main(String[] args) { | ||
new ClazzA(); | ||
} | ||
|
||
} | ||
|
||
class ClazzA { | ||
|
||
private ClazzB b = new ClazzB(); | ||
|
||
} | ||
|
||
class ClazzB { | ||
|
||
private ClazzA a = new ClazzA(); | ||
|
||
} |
This file contains 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