Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

public class Main {

    public static void main(String[] args) {

        long l = 100;
        System.out.println("Number = " + l);

        System.out.println("Binary = " + Long.toBinaryString(l));

        System.out.println("Lowest one bit = " + Long.lowestOneBit(l));
    }
}