8:08 am - Sunday August 20, 2017

Tag Archives: Long Example Program

Vector Example Program for toString()

@author:candidjava.com @description:Vector Example Program for toString() */ import java.util.Vector; public class ToString { public static void main(String args[]) { Vector<Integer>vc=new Vector<Integer>(); vc.add(11); vc.add(22); vc.add(33); vc.add(44); System.out.println(vc); //convert...

Long Example Program for toString(long i,int radix)

/** @author: candidjava @description: toString(long i,int radix) is used to a string representation of the argument in the specified radix. */ public class DeeToStringLong { public static void main(String[] args) { Long l=new Long(2468);//get...

Long Example Program for toBinaryString(long i)

/** @author: candidjava @description: toBinaryString(long i) is used to Returns a string representation of the long argument as an unsigned integer in base 2. */ public class DeeToBinaryString { public static void main(String []args) { String...

Long Example Program for highestOneBit(long i)

/** Author :candidjava.com Description: It will returns a long value in the position of highest order */ import java.io.*; import java.lang.*; public class HighestOne { public static void main(String args[])throws IOException { long...