Vinculum Solutions Interview Question

Pattern question and some basic concepts about java