Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
Problem_fib
Hello, World!
CSV Parser
4.d
Leetcode 937. Reorder Log Files๐ฎ๐ณ๐ฎ๐ณ๐ฎ๐ณ
Day 1
jsis
jb12.0 threads.enums
stream handlingException
int float
Please log in to post a comment.