Java Program to display the odd numbers.1 min read

Output: