We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Could you please explain me about below three lines:
1. StringBuilder sb = new StringBuilder();
2. sb.setLength(0);
3. sb.append((int) (a + b*(Math.pow(2, j+1) - 1))).append(" ");
Java Loops II
You are viewing a single comment's thread. Return to all comments →
Could you please explain me about below three lines: 1. StringBuilder sb = new StringBuilder(); 2. sb.setLength(0); 3. sb.append((int) (a + b*(Math.pow(2, j+1) - 1))).append(" ");