You need a static void main() function that creates an instance of the IfExamples class. The main() function can then call the Example1 method with values that you want to test.

The main()...