Pernix Solutions Interview Question

Logical problem with java languaje