Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

24
LINES

< > BotCompany Repo | #1004947 // Test having a field called "main" in class "main" (probably we don't need this)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (49L/1K/2K).

1  
!752
2  
3  
main main;
4  
5  
p {
6  
  main m = new main;
7  
  m.blubb();
8  
}
9  
10  
*() { main = this; }
11  
12  
void bla() {
13  
}
14  
15  
void blubb() {
16  
  main.bla();
17  
  new Sub().bla();
18  
}
19  
20  
class Sub {
21  
  void bla() {
22  
    main.bla();
23  
  }
24  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004947
Snippet name: Test having a field called "main" in class "main" (probably we don't need this)
Eternal ID of this version: #1004947/1
Text MD5: 92dec70a95facae58cd4070b471d9f2c
Transpilation MD5: 60072c42ad954f2572cd09b7583dcfee
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-09-18 15:18:46
Source code size: 219 bytes / 24 lines
Pitched / IR pitched: No / No
Views / Downloads: 596 / 668
Referenced in: [show references]