Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
jb14 L
//'main' method must be in a class 'Rextester'. //Compiler version 1.8.0_111 import java.util.*; import java.lang.*; class Rextester { public static void main(String args[]) { System.out.println("Hello, World!"); MyValue myVal; myVal = ()-> 98; MyParamValue myPValue = $n -> 1/$n; System.out.println(myVal.myValue()); System.out.println(myPValue.myParamValue(4)); } } interface MyValue{ double myValue(); } interface MyParamValue{ double myParamValue(double n); } interface MyNumericTest{ boolean test(int x, int y); }
run
|
edit
|
history
|
help
0
exp.1A
Combination Sum (Leetcode)
Java 8... lambda, streams und so...
Problem: binary
Sqrt
java - preethika
3d
1.5
1.5
"encryption"