It's a hectic and time-wasting process for the candidate. Just a theoretical process, nothing involved with the reality. If you are good at memorizing every word and tell every line from the JAVA documentation, you are the person this company looking for.