[Go to site: main page, start]

0% found this document useful (0 votes)
2 views1 page

Java Programming Exercise - 1

The document outlines a series of Java programming exercises, including tasks such as generating a Fibonacci series, checking for prime numbers, and determining if a number is a palindrome. It also covers array manipulation techniques, such as copying elements, finding duplicates, and identifying the largest and smallest elements. Each exercise is designed to enhance programming skills in Java.

Uploaded by

Dileep Labana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Java Programming Exercise - 1

The document outlines a series of Java programming exercises, including tasks such as generating a Fibonacci series, checking for prime numbers, and determining if a number is a palindrome. It also covers array manipulation techniques, such as copying elements, finding duplicates, and identifying the largest and smallest elements. Each exercise is designed to enhance programming skills in Java.

Uploaded by

Dileep Labana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Java Programming Exercise

1) Fibonacci Series in Java


2) Prime Number Program in Java
3) Palindrome Program in Java
4) Factorial Program in Java
5) How to Reverse a Number in Java
6) Java Program to Find Largest of Three Numbers
7) Java Program to Find Smallest of Three Numbers Using Ternary Operator
8) Java Program to Check if a Number is Positive or Negative
9) Java Program to Check if a Given Number is Perfect Square
10) Java Program to Display Even Numbers From 1 to 100
11) Java Program to Display Odd Numbers From 1 to 100
12) Java Program to copy all elements of one array into another array
13) Java Program to find the frequency of each element in the array
14) Java Program to print the duplicate elements of an array
15) Java Program to print the elements of an array
16) Java Program to print the elements of an array in reverse order
17) Java Program to print the elements of an array present on even position
18) Java Program to print the elements of an array present on odd position
19) Java Program to print the largest element in an array
20) Java Program to print the smallest element in an array

You might also like