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).

!752

main main;

p {
  main m = new main;
  m.blubb();
}

*() { main = this; }

void bla() {
}

void blubb() {
  main.bla();
  new Sub().bla();
}

class Sub {
  void bla() {
    main.bla();
  }
}

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: 499 / 550
Referenced in: [show references]