Pregunta de entrevista de Cisco

1. Create a program to sort elements in an array using the bubble sort algorithm. 2.Implement a program to calculate the area of a circle given its radius. Write a Java program to count the occurrences of a specific character in a string. 3. Create a program to find the second largest element in an array. 4. Implement a program to check if a string is a palindrome. Write a Java program to convert a decimal number to binary. 5. Create a program to find the GCD (Greatest Common Divisor) of two numbers. 6. Implement a program to find the power of a number using recursion.