Converting Decimal value to Binary in Java.(problem with used method in this code!) : Sir! here my problem is on method.
in this code used method was void type. ok then why there is return and 
next it does recursion!
if anyone little describe it, then i think it will be easy for me :)

`

    import java.util.Scanner;
    class Code {
            public static void main(String[] args) {
                    Scanner sc = new Scanner(System.in);
                    System.out.println("Enter your Decimal value here : ");
                    int num = sc.nextInt();
                    printBinaryform(num);
                    System.out.println();
            }
        private static void printBinaryform(int number) {
            int remainder;
            if (number <= 1) {
                System.out.print(number);
                return; // KICK OUT OF THE RECURSION
            }
            remainder = number % 2;
            printBinaryform(number >> 1);
            System.out.print(remainder);
        }
    }

`