Media Summary: Line 2: method1 is not defined correctly. It does not have a return type or void. Line 2: type int should be declared for parameter m. Welcome to a quick start to programming with When B b = new B(); is executed in the main
Java Check Point 25 Method - Detailed Analysis & Overview
Line 2: method1 is not defined correctly. It does not have a return type or void. Line 2: type int should be declared for parameter m. Welcome to a quick start to programming with When B b = new B(); is executed in the main