source: java2python/core/src/test/java/testcode/SpecialExpressions.java

Last change on this file was 1209, checked in by wouter, 6 weeks ago

#379 issues fixed, seems much of auto casting now supported

File size: 478 bytes
Line 
1package testcode;
2
3import java.nio.charset.StandardCharsets;
4
5/**
6 * Tests static function calls and references
7 */
8public class SpecialExpressions {
9
10 /**
11 * @param args the arguments of the call.
12 */
13 static public void main(String[] args) {
14 int c;
15 System.out.println((c = 1) > 0);
16
17 System.out
18 .println(new String(new byte[] { 80 }, StandardCharsets.UTF_8));
19 System.out.println(String.valueOf(5d));
20 System.out.println(String.valueOf(Double.valueOf(6)));
21 }
22
23}
Note: See TracBrowser for help on using the repository browser.