+ 3

Base system

Is it possible to covert the base system of an integer using pre-defined methods in java ?

6th Jul 2018, 6:36 AM
Miqdad
Miqdad - avatar
2 Réponses
+ 1
you can use wrapper class for this
6th Jul 2018, 7:07 AM
PRAMOD JANA
PRAMOD JANA - avatar
+ 1
convert the integer into string, then use Integer.parseInt(String, int). where int -> base system
6th Jul 2018, 11:14 AM
Parteek Bansal
Parteek Bansal - avatar