loading
3 Comments

Tell us about yourself!

Complete Your Profile
  • Implement Your Own API in Java Using Eclipse

    It's great!! Simple and easy to understand. :) .. I helps me to understand two concepts 1. Static Methods and 2. API callsHere are the Static methods which I have used :public static int sumOfTwo(int a, int b){return a+b;}public static String helloAPI(String name){return "Hello "+name+". This is API Sample.";}Below are the calls to Static methods from second class:System.out.println(SampleToAPI.helloAPI("Tony"));System.out.println("Sum of 23 and 52 is " +SampleToAPI.sumOfTwo(23, 52));

    It's great!! Simple and easy to understand. :) .. I helps me to understand two concepts 1. Static Methods and 2. API callsHere are the Static methods which I have used :public static int sumOfTwo(int a, int b){return a+b;}public static String helloAPI(String name){return "Hello "+name+". This is API Sample.";}Below are the calls to Static methods from second class:System.out.println(SampleToAPI.helloAPI("Tony"));System.out.println("Sum of 23 and 52 is " +SampleToAPI.sumOfTwo(23, 52));

    It's great!! Simple and easy to understand. :) .. I helps me to understand two concepts 1. Static Methods and 2. API callsHere are the Static methods which I have used :public static int sumOfTwo(int a, int b){return a+b;}public static String helloAPI(String name){return "Hello "+name+". This is API Sample.";}Below are the calls to Static methods from second class:System.out.println(SampleToAPI.helloAPI("Tony"));System.out.println("Sum of 23 and 52 is " +SampleToAPI.sumOfTwo(23, 52));

    View Instructable »