From 4f130313d86b3aee179d03bd237c26f025bc0c43 Mon Sep 17 00:00:00 2001 From: Elenaires Date: Mon, 15 Apr 2019 18:17:26 +0800 Subject: [PATCH] fixed rocket images (#30737) fixed rocket images by updating the urls --- guide/english/java/constructors/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guide/english/java/constructors/index.md b/guide/english/java/constructors/index.md index 91e070e0f8..915c2561c1 100644 --- a/guide/english/java/constructors/index.md +++ b/guide/english/java/constructors/index.md @@ -66,7 +66,7 @@ public class Car { } ``` -![:rocket:](//forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=2 ":rocket:") Run Code +![:rocket:](https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=2 ":rocket:") Run Code Notice that when we write a constructor in this way i.e., providing a parameter, we are controlling (point no. 3) the way an instance of `Car` is created. In short, we are saying in this example that **you MUST provide a model name in order to get an instance of Car class**. @@ -91,7 +91,7 @@ public class Bank { } ``` -![:rocket:](//forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=2 ":rocket:") Run Code +![:rocket:](https://forum.freecodecamp.com/images/emoji/emoji_one/rocket.png?v=2 ":rocket:") Run Code Notice that the constructor is `private`. This enforces the fact that no one else is allowed to create an instance of the Bank. In fact, if in another class, you try: