public class OverloadedMethodsExample
extends java.lang.Object
| Constructor and Description |
|---|
OverloadedMethodsExample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
overloadedMethodWithOneArgument(ChildA child) |
static void |
overloadedMethodWithOneArgument(Parent parent) |
static void |
overloadedMethodWithTwoArguments(Parent parent,
ChildA child) |
static void |
overloadedMethodWithTwoArguments(Parent parent1,
Parent parent2) |
public static void overloadedMethodWithOneArgument(Parent parent)
public static void overloadedMethodWithOneArgument(ChildA child)
public static void overloadedMethodWithTwoArguments(Parent parent, ChildA child)