Write a java program to check if a list of integers contains only odd numbers.
Write a java program to check if a list of integers contains only odd numbers.
Jr. Software Developer
I am a software developer at MindStick soft. Pvt. ltd. I joined this company in august 2021 after completing my post-graduation course. I love to see the historical places of my country.
Given below is the program that checks if all the elements in an integer array are odd.