Decimal to Octal in Java | ISC Computer Science 2011 Theory
Channel:
Subscribers:
1,540
Published on ● Video Link: https://www.youtube.com/watch?v=QYHDD2LnfLk
Decimal to Octal in Java | ISC Computer Science 2011 Theory
A class DeciOct has been defined to convert a decimal number into its equivalent octal number.
void deci_oct(): calculates the octal equivalent of ‘n’ and stores it in oct using recursive technique.
(b) State any two disadvantages of using recursion.
1. Recursion can lead to stack overflow.
2. Recursion has more overhead than iterative solutions.
#recursion #isc #java #computerscience #octal #decimaltooctal
Other Videos By Robin Sir
Tags:
recursion
decimal to octal
java
computer science
decimal to octal java
convert decimal to octal in java
decimal to octal java program
isc