MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
MCQ Test
Previous Year Papers
Practice Questions
Video Courses
About
Home
Practice
CORE JAVA PROGRAMMING
EXCEPTION HANDLING
Problem #423
Problem #423
CORE JAVA PROGRAMMING
Write a Java program to create a method that takes an integer as a parameter and throws an exception if the number is odd.
Your Solution
Submit Solution
Reset