java.lang.Integer.valueOf(String s, int radix) java.lang.Integer.valueOf(String s) java.lang.Long.bitCount() java.lang.Integer.valueOf(String s, int radix) package com.codingdict; import java.lang.*; public class IntegerDemo { public static void main(String[] args) { Integer i = new Integer(30); String str = "50"; /* returns a Integer instance representing the specified string with radix 10 */ System.out.println("Value = " + i.valueOf(str, 10)); } } java.lang.Integer.valueOf(String s) java.lang.Long.bitCount()