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

Java Programming Exercises for Beginners

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

Java Programming Exercises for Beginners

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

Java programming exercises

Exercise 1

Write a Java program that fills an array of integers with the values entered by the user.

Exercise 2

Write a Java program to produce the product of two arrays previously filled in by the user.

Exercise 3

Write a Java program that fills an array of integers with the values entered by the user and displays
the minimum and maximum values of the array.

Exercise 4

Write a Java program to calculate the PGCD of two integers a and b entered by the user.

You might also like