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

12
LINES

< > BotCompany Repo | #606 // Java multi-line-strings test

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

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

!759

public class main {
  static String text = [[
    
    hello
  ]];
  
  public static void main(String[] args) {
    System.out.println("'hello' should be on the next line:" + text + "And this is line 3.");
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #606
Snippet name: Java multi-line-strings test
Eternal ID of this version: #606/1
Text MD5: 3f5c5829bdaa4bfe8e64af0d0f49f7bd
Transpilation MD5: 018db4de86e24304a78da841d0b013c5
Author: stefan
Category:
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-10 22:08:34
Source code size: 229 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 667 / 673
Referenced in: [show references]