IBM Interview Question

1. How will you print the binary form of an integer. 2. How to reverse a string.

Interview Answers

Anonymous

Jul 1, 2016

i would i have to write my own method to do the transformation to binary

3

Anonymous

Jul 1, 2016

new StringBuilder(hi).reverse().toString()

2