Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
A.K.JAVA_EXPERIENCE_1
//'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!"); } } /*//////////// //Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); ////// Rextester.Program.foo() ; Rextester.Program.bar(3, 2) ; Rextester.Program1.foo() ; Rextester.Program1.bar(3, 2) ; } ///// //////////////////////////////////////////////// public static void foo() { // Do something here Console.WriteLine("FUNCTION"); } //////////////////////////////////////////////////////// public static void bar(int num1, int num2) { Console.WriteLine("bar"); } //////////////////////////////////////////////////////////////// } //////////////////////////////////// public class Program1 { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello!"); ////// ///// Program.foo() ; } public static void foo() { // Do something here Console.WriteLine("FUNCTN"); } //////////////////////////////////////////////////////// public static void bar(int num1, int num2) { Console.WriteLine("bar"); } //////////////////////////////////////////////////////////////// } ///////////////////////////////////////// } *//////////
run
|
edit
|
history
|
help
1
nth fibonacci ( memoization )
String Class Methods
Smallest Multiple of N with Zeros and Ones
2
calc exp nha
pass
Intersection of Array
Union of Arrays
http://stackoverflow.com/questions/23175927/how-to-clone-object-defined-by-interface
Magic No.