ThoughtFocus interview question

Decimal to binary conversion in java