parseInt() Method, parse Integer Octal to int Deciaml in java
Java Programming Language / Number Class in java
1085Program:
public class ParseOctal { public static void main(String args[]) { int b = Integer.parseInt("77",8); System.out.println(b); } } /* parseInt(int i) - This returns an integer, given a string representation of decimal, binary, octal, or hexadecimal (radix equals 10, 2, 8, or 16 respectively) numbers as input. */
Output:
63 Press any key to continue . . .
This Particular section is dedicated to Programs only. If you want learn more about Java Programming Language. Then you can visit below links to get more depth on this subject.
# C Tutorials
# JAVA Tutorials
# HTML Tutorials
# Computer Fundamental
# Data Structure
# DBMS Tutorials
SQL
# C# Language
# R Language
# PHP
# Python
# Vue JS