0
Q:

procedural abstraction examples

public void myFunction(String name) {
	// whatever
}

public void myFunction(String name, boolean isAdult) {
	// whatever, but now this is called whenever the extra parameter
    // is callled instead of the other one
}
0

New to Communities?

Join the community