Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.

Updated Java-Constructors by adding some more details on private cons… #999

Merged
1 commit merged into from
May 20, 2016

Conversation

trishulpani
Copy link
Contributor

Updated article on Constructors. Also added the concept of Singletons.

@ghost ghost added QA Java labels May 20, 2016
@ghost ghost self-assigned this May 20, 2016
@ghost ghost added this to the June Summit milestone May 20, 2016

Let's look at another example. Say, Honda (the car manufacturer), wants all its cars to be named `Honda <something>`. In order to enforce this, we might represent this using a class as follows:

```
Copy link

@ghost ghost May 20, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use ```java for syntax highlighting

@Rafase282
Copy link
Member

LGTM

@ghost ghost merged commit ca63dd3 into freeCodeCamp:master May 20, 2016
@BerkeleyTrue BerkeleyTrue removed the QA label May 20, 2016
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants