Cognizant Interview Question

Java program to find the nth prime number Bubble sort algorithm in Java