BASIC STRING AND ARRAY QUESTION IN JAVA.

 BASIC STRING AND ARRAY QUESTION IN JAVA.


1. Write a java program to reverse a string. 

2. Write a java program  to Check if String is Palindrome.

3. Write a java program  to  Count Vowels in a String.

4. Write a java program  to  Check whether two given strings are anagram of each other or not.

5. Write a Java program to find the frequency (count the occurrence) of each element in an integer array.

6. Write a Java program to sum the elements of an array.

7. Write a Java Program to print the elements of an array present on even position.

8. Write a Java Program to find largest element of an array.

9. Write a Java program to find smallest number in an array.

10. Write a Java Program to display Fibonacci series using loops

11. Write a Java Program to find Factorial using loops

Comments

Popular posts from this blog

PBCST304 OBJECT ORIENTED PROGRAMMING(2024 SCHEME)

CST446 DATA COMPRESSION TECHNIQUES(2019 scheme)

CST 362 PROGRAMMING IN PYTHON(2019 scheme S6 Program Elective I )