Unverified Commit 7d83534b authored by Lokesh Singh's avatar Lokesh Singh Committed by GitHub

Create CompileTime.java

parent 99638d20
public class compileTime {
public static int add(int a, int b)
{
return a + b;
}
public static double add(
double a, double b)
{
return a + b;
}
public static void main(String args[])
{
System.out.println(add(2, 3));
System.out.println(add(2.0, 3.0));
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment