Skip to content

method name typo in https://java-programming.mooc.fi/part-5/4-objects-and-references #488

Description

@Chamindu-DM

in example on page (https://java-programming.mooc.fi/part-5/4-objects-and-references:)
public class Factory {
private String make;

public Factory(String make) {
    this.make = make;
}

public Car procuceCar() {
    return new Car(this.make);
}/

}

procuceCar() must be correct as produceCar()

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions