Amdocs interview question

Basic's of JAVA and JAVA logic testing programs such as bubble sort, Reverse string etc