SD1042 Introduction to Software Development. Extending classes with inheritance Robot DancingRobot Sharing attributes and methods.
Method signature Name and parameter list public static void test() public static int test() => Syntax error, Duplicate method test You cannot declare more.