diff --git a/drafts/20-arithmetics/50-priority/description.en.yml b/drafts/20-arithmetics/50-priority/description.en.yml index d4dafc9..46fde30 100644 --- a/drafts/20-arithmetics/50-priority/description.en.yml +++ b/drafts/20-arithmetics/50-priority/description.en.yml @@ -39,7 +39,6 @@ theory: | Запомните: код пишется для людей, потому что код будут читать люди, а машины будут только исполнять его. Для машин нет «более» понятного или «менее» понятного кода, независимо от того, является ли код корректным или нет. - https://replit.com/@hexlet/java-basics-arithmetics instructions: | diff --git a/drafts/30-variables/12-change/description.en.yml b/drafts/30-variables/12-change/description.en.yml index 19c7e15..d4b17b7 100644 --- a/drafts/30-variables/12-change/description.en.yml +++ b/drafts/30-variables/12-change/description.en.yml @@ -15,7 +15,6 @@ theory: | System.out.println(greeting); ``` - https://replit.com/@hexlet/java-basics-variables-2 Java — статически типизированный язык. Это значит, что тип переменной задается при определении и больше не меняется. diff --git a/drafts/35-methods-using/120-methods-chain/description.en.yml b/drafts/35-methods-using/120-methods-chain/description.en.yml index 1b1b335..bfa6bbf 100644 --- a/drafts/35-methods-using/120-methods-chain/description.en.yml +++ b/drafts/35-methods-using/120-methods-chain/description.en.yml @@ -56,7 +56,6 @@ theory: | .toLowerCase(); ``` - https://replit.com/@hexlet/java-basics-methods-chain Несмотря на удобство этого механизма, им не стоит злоупотреблять. Промежуточные переменные могут упростить понимание кода. diff --git a/drafts/35-methods-using/200-methods-deterministic/description.en.yml b/drafts/35-methods-using/200-methods-deterministic/description.en.yml index 785b8af..467e988 100644 --- a/drafts/35-methods-using/200-methods-deterministic/description.en.yml +++ b/drafts/35-methods-using/200-methods-deterministic/description.en.yml @@ -18,7 +18,6 @@ theory: | Math.random(); // 0.8839904367241888 ``` - https://replit.com/@hexlet/java-basics-pure-functions Зачем это нужно знать? Детерминированность серьезно влияет на многие аспекты. Детерминированные функции удобны в работе, их легко оптимизировать, легко тестировать. Если есть возможность сделать функцию детерминированной, то лучше ее такой и сделать. diff --git a/drafts/40-methods-definition/200-method-definition-return/description.en.yml b/drafts/40-methods-definition/200-method-definition-return/description.en.yml index ec35b92..efab5da 100644 --- a/drafts/40-methods-definition/200-method-definition-return/description.en.yml +++ b/drafts/40-methods-definition/200-method-definition-return/description.en.yml @@ -124,7 +124,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-return В этом примере в определении метода использовался `long`, так как возвращается целое число. diff --git a/drafts/40-methods-definition/300-method-definition-parameters/description.en.yml b/drafts/40-methods-definition/300-method-definition-parameters/description.en.yml index b2e2706..5249082 100644 --- a/drafts/40-methods-definition/300-method-definition-parameters/description.en.yml +++ b/drafts/40-methods-definition/300-method-definition-parameters/description.en.yml @@ -52,7 +52,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-methods-parameters-1 Разберем этот код подробнее. `char` говорит нам о типе возвращаемого значения. Далее в скобках указывается тип параметра `String` и его имя `str`. @@ -86,7 +85,6 @@ theory: | App.average(1, 2); // 1.5 ``` - https://replit.com/@hexlet/java-basics-methods-parameters-2 Методы могут требовать на вход любое количество параметров, которое им нужно для работы: diff --git a/drafts/45-logic/12-string-comparasion/description.en.yml b/drafts/45-logic/12-string-comparasion/description.en.yml index 4fef2db..188ef9a 100644 --- a/drafts/45-logic/12-string-comparasion/description.en.yml +++ b/drafts/45-logic/12-string-comparasion/description.en.yml @@ -118,7 +118,6 @@ theory: | name1.equals(name2); // true ``` - https://replit.com/@hexlet/java-basics-logical-operations Помимо `equals()`, в строки встроен метод `equalsIgnoreCase()`, который выполняет проверку по значению без учета регистра: diff --git a/drafts/45-logic/20-combine-expressions/description.en.yml b/drafts/45-logic/20-combine-expressions/description.en.yml index f943221..cc46ae8 100644 --- a/drafts/45-logic/20-combine-expressions/description.en.yml +++ b/drafts/45-logic/20-combine-expressions/description.en.yml @@ -34,7 +34,6 @@ theory: | App.isEven(3); // false ``` - https://replit.com/@hexlet/java-basics-logical-operations-1 В одном выражении мы скомбинировали два логических оператора: diff --git a/drafts/45-logic/25-logical-operators/description.en.yml b/drafts/45-logic/25-logical-operators/description.en.yml index 1d0f4a8..afd7e6e 100644 --- a/drafts/45-logic/25-logical-operators/description.en.yml +++ b/drafts/45-logic/25-logical-operators/description.en.yml @@ -53,7 +53,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-logical-operators Область математики, в которой изучаются логические операторы, называется **булевой алгеброй**. Ниже показаны «таблицы истинности» — по ним можно определить, каким будет результат применения оператора: diff --git a/drafts/80-conditionals/50-else-if/description.en.yml b/drafts/80-conditionals/50-else-if/description.en.yml index e7b7539..9650431 100644 --- a/drafts/80-conditionals/50-else-if/description.en.yml +++ b/drafts/80-conditionals/50-else-if/description.en.yml @@ -45,7 +45,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-if-else Теперь все условия выстроены в единую конструкцию. Оператор `else if` — это «если не выполнено предыдущее условие, но выполнено текущее». Получается такая схема: diff --git a/drafts/90-loops/100-while/description.en.yml b/drafts/90-loops/100-while/description.en.yml index 0c3fc2d..839bfb5 100644 --- a/drafts/90-loops/100-while/description.en.yml +++ b/drafts/90-loops/100-while/description.en.yml @@ -53,7 +53,6 @@ theory: | finished! - https://replit.com/@hexlet/java-basics-while В коде метода использован цикл `while`. Он состоит из трех элементов: diff --git a/drafts/90-loops/550-for/description.en.yml b/drafts/90-loops/550-for/description.en.yml index 3e15f4e..111ae07 100644 --- a/drafts/90-loops/550-for/description.en.yml +++ b/drafts/90-loops/550-for/description.en.yml @@ -20,7 +20,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-conditions-for Этот код можно описать так: diff --git a/modules/10-basics/10-hello-world/description.ru.yml b/modules/10-basics/10-hello-world/description.ru.yml index 9e06f27..5dc6d6b 100644 --- a/modules/10-basics/10-hello-world/description.ru.yml +++ b/modules/10-basics/10-hello-world/description.ru.yml @@ -18,7 +18,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-hello-world Текст *Hello, World!* появится на экране благодаря команде `System.out.println()`, где `println()` — это сокращение от английского *print line*. Она выводит на экран значение, указанное в скобках `("Hello, World!")` — в данном случае строку. Сама строка обрамляется двойными кавычками `""`. Если этого не сделать, то компилятор укажет на синтаксическую ошибку: diff --git a/modules/10-basics/10-hello-world/ru/README.md b/modules/10-basics/10-hello-world/ru/README.md index 26496f9..bb55cc0 100644 --- a/modules/10-basics/10-hello-world/ru/README.md +++ b/modules/10-basics/10-hello-world/ru/README.md @@ -14,7 +14,6 @@ class App { } ``` -https://replit.com/@hexlet/java-basics-hello-world Текст *Hello, World!* появится на экране благодаря команде `System.out.println()`, где `println()` — это сокращение от английского *print line*. Она выводит на экран значение, указанное в скобках `("Hello, World!")` — в данном случае строку. Сама строка обрамляется двойными кавычками `""`. Если этого не сделать, то компилятор укажет на синтаксическую ошибку: diff --git a/modules/20-arithmetics/50-priority/description.en.yml b/modules/20-arithmetics/50-priority/description.en.yml index 5050bad..3a55ed3 100644 --- a/modules/20-arithmetics/50-priority/description.en.yml +++ b/modules/20-arithmetics/50-priority/description.en.yml @@ -35,7 +35,6 @@ theory: | Remember: code is for people, because it'll be read by people, and machines will only execute it. The only thing that matters for the machines is the correctness of code. They don't distinguish between "clear" or "confusing". - https://replit.com/@hexlet/java-basics-arithmetics instructions: | diff --git a/modules/20-arithmetics/50-priority/description.ru.yml b/modules/20-arithmetics/50-priority/description.ru.yml index d4dafc9..46fde30 100644 --- a/modules/20-arithmetics/50-priority/description.ru.yml +++ b/modules/20-arithmetics/50-priority/description.ru.yml @@ -39,7 +39,6 @@ theory: | Запомните: код пишется для людей, потому что код будут читать люди, а машины будут только исполнять его. Для машин нет «более» понятного или «менее» понятного кода, независимо от того, является ли код корректным или нет. - https://replit.com/@hexlet/java-basics-arithmetics instructions: | diff --git a/modules/20-arithmetics/50-priority/en/README.md b/modules/20-arithmetics/50-priority/en/README.md index fafadee..1995770 100644 --- a/modules/20-arithmetics/50-priority/en/README.md +++ b/modules/20-arithmetics/50-priority/en/README.md @@ -31,4 +31,3 @@ System.out.println(((8 / 2) + 5) - (-3 / 2)); // => 11 Remember: code is for people, because it'll be read by people, and machines will only execute it. The only thing that matters for the machines is the correctness of code. They don't distinguish between "clear" or "confusing". -https://replit.com/@hexlet/java-basics-arithmetics diff --git a/modules/20-arithmetics/50-priority/ru/README.md b/modules/20-arithmetics/50-priority/ru/README.md index 22ad28a..470d061 100644 --- a/modules/20-arithmetics/50-priority/ru/README.md +++ b/modules/20-arithmetics/50-priority/ru/README.md @@ -35,4 +35,3 @@ System.out.println(((8 / 2) + 5) - (-4 / 2)); // => 11 Запомните: код пишется для людей, потому что код будут читать люди, а машины будут только исполнять его. Для машин нет «более» понятного или «менее» понятного кода, независимо от того, является ли код корректным или нет. -https://replit.com/@hexlet/java-basics-arithmetics diff --git a/modules/25-strings/20-strings-concatenation/description.en.yml b/modules/25-strings/20-strings-concatenation/description.en.yml index b635895..7293036 100644 --- a/modules/25-strings/20-strings-concatenation/description.en.yml +++ b/modules/25-strings/20-strings-concatenation/description.en.yml @@ -51,7 +51,6 @@ theory: | System.out.print("King's " + " Landing"); // => King's Landing ``` - https://replit.com/@hexlet/java-basics-strings instructions: | diff --git a/modules/25-strings/20-strings-concatenation/en/README.md b/modules/25-strings/20-strings-concatenation/en/README.md index 9014b5e..0e2e6e4 100644 --- a/modules/25-strings/20-strings-concatenation/en/README.md +++ b/modules/25-strings/20-strings-concatenation/en/README.md @@ -47,4 +47,3 @@ System.out.print("King's " + " Landing"); // => King's Landing System.out.print("King's " + " Landing"); // => King's Landing ``` -https://replit.com/@hexlet/java-basics-strings diff --git a/modules/25-strings/20-strings-concatenation/ru/README.md b/modules/25-strings/20-strings-concatenation/ru/README.md index 18f050c..6994511 100644 --- a/modules/25-strings/20-strings-concatenation/ru/README.md +++ b/modules/25-strings/20-strings-concatenation/ru/README.md @@ -37,4 +37,3 @@ System.out.println("King's " + " Landing"); // => King's Landing System.out.println("King's " + " Landing"); // => King's Landing ``` -https://replit.com/@hexlet/java-basics-strings#Main.java diff --git a/modules/30-variables/10-definition/description.en.yml b/modules/30-variables/10-definition/description.en.yml index 8e78a57..c635361 100644 --- a/modules/30-variables/10-definition/description.en.yml +++ b/modules/30-variables/10-definition/description.en.yml @@ -27,7 +27,6 @@ theory: |   Father! - https://replit.com/@hexlet/java-basics-variables-1 For the name of the variable, any set of valid characters is used, which include letters of the English alphabet, numbers and the characters `-`, `_`. In this case, the number can not be put at the beginning. Variable names are case-sensitive, that is, the name `hello` and the name `heLLo` are two different names, and therefore two variables. diff --git a/modules/30-variables/10-definition/en/README.md b/modules/30-variables/10-definition/en/README.md index 68c2398..3895679 100644 --- a/modules/30-variables/10-definition/en/README.md +++ b/modules/30-variables/10-definition/en/README.md @@ -23,7 +23,6 @@ When the variable is created, you can start using it. It is substituted in those   Father! -https://replit.com/@hexlet/java-basics-variables-1 For the name of the variable, any set of valid characters is used, which include letters of the English alphabet, numbers and the characters `-`, `_`. In this case, the number can not be put at the beginning. Variable names are case-sensitive, that is, the name `hello` and the name `heLLo` are two different names, and therefore two variables. diff --git a/modules/30-variables/12-change/description.en.yml b/modules/30-variables/12-change/description.en.yml index 7b49bc3..fdd0d6b 100644 --- a/modules/30-variables/12-change/description.en.yml +++ b/modules/30-variables/12-change/description.en.yml @@ -16,7 +16,6 @@ theory: | System.out.print(greeting); ``` - https://replit.com/@hexlet/java-basics-variables-2 The name remains the same, but inside the other data. It should be noted that when changing variables, the type of data contained in them cannot change (this is not quite the case for object-oriented programming, but for the time being we will not go into details). If a variable was assigned a string, then when compiling this assignment — even before the program was started — java associates the data type “string” with this variable, and knows that there will always be only strings, and will not let it put something else in it. diff --git a/modules/30-variables/12-change/description.ru.yml b/modules/30-variables/12-change/description.ru.yml index 19c7e15..d4b17b7 100644 --- a/modules/30-variables/12-change/description.ru.yml +++ b/modules/30-variables/12-change/description.ru.yml @@ -15,7 +15,6 @@ theory: | System.out.println(greeting); ``` - https://replit.com/@hexlet/java-basics-variables-2 Java — статически типизированный язык. Это значит, что тип переменной задается при определении и больше не меняется. diff --git a/modules/30-variables/12-change/en/README.md b/modules/30-variables/12-change/en/README.md index 5ffdec9..21c8189 100644 --- a/modules/30-variables/12-change/en/README.md +++ b/modules/30-variables/12-change/en/README.md @@ -11,7 +11,6 @@ System.out.print(greeting); System.out.print(greeting); ``` -https://replit.com/@hexlet/java-basics-variables-2 The name remains the same, but inside the other data. It should be noted that when changing variables, the type of data contained in them cannot change (this is not quite the case for object-oriented programming, but for the time being we will not go into details). If a variable was assigned a string, then when compiling this assignment — even before the program was started — java associates the data type “string” with this variable, and knows that there will always be only strings, and will not let it put something else in it. diff --git a/modules/30-variables/12-change/ru/README.md b/modules/30-variables/12-change/ru/README.md index 4c3287d..734d057 100644 --- a/modules/30-variables/12-change/ru/README.md +++ b/modules/30-variables/12-change/ru/README.md @@ -10,7 +10,6 @@ System.out.println(greeting); System.out.println(greeting); ``` -https://replit.com/@hexlet/java-basics-variables-2 Java — статически типизированный язык. Это значит, что тип переменной задается при определении и больше не меняется. diff --git a/modules/30-variables/15-variable-expressions/description.en.yml b/modules/30-variables/15-variable-expressions/description.en.yml index beeeae1..4eb2514 100644 --- a/modules/30-variables/15-variable-expressions/description.en.yml +++ b/modules/30-variables/15-variable-expressions/description.en.yml @@ -50,7 +50,6 @@ theory: | System.out.print("The price is" + rublesCount + "rubles"); ``` - https://replit.com/@hexlet/java-basics-variables-3 The price is 3750 rubles diff --git a/modules/30-variables/15-variable-expressions/en/README.md b/modules/30-variables/15-variable-expressions/en/README.md index c242223..398df30 100644 --- a/modules/30-variables/15-variable-expressions/en/README.md +++ b/modules/30-variables/15-variable-expressions/en/README.md @@ -46,7 +46,6 @@ var rublesCount = dollarsCount * rublesPerDollar; // => 3750 System.out.print("The price is" + rublesCount + "rubles"); ``` -https://replit.com/@hexlet/java-basics-variables-3 The price is 3750 rubles diff --git a/modules/30-variables/18-variables-concatenation/description.en.yml b/modules/30-variables/18-variables-concatenation/description.en.yml index 73fa766..14c88d6 100644 --- a/modules/30-variables/18-variables-concatenation/description.en.yml +++ b/modules/30-variables/18-variables-concatenation/description.en.yml @@ -32,7 +32,6 @@ theory: | System.out.print(what); // => "Kingsroad" ``` - https://replit.com/@hexlet/java-basics-variables-4 instructions: | diff --git a/modules/30-variables/18-variables-concatenation/en/README.md b/modules/30-variables/18-variables-concatenation/en/README.md index 8a46efa..eb87263 100644 --- a/modules/30-variables/18-variables-concatenation/en/README.md +++ b/modules/30-variables/18-variables-concatenation/en/README.md @@ -28,4 +28,3 @@ var what = first + last; System.out.print(what); // => "Kingsroad" ``` -https://replit.com/@hexlet/java-basics-variables-4 diff --git a/modules/30-variables/18-variables-concatenation/ru/README.md b/modules/30-variables/18-variables-concatenation/ru/README.md index 33bf6ac..403a29d 100644 --- a/modules/30-variables/18-variables-concatenation/ru/README.md +++ b/modules/30-variables/18-variables-concatenation/ru/README.md @@ -22,4 +22,3 @@ var what = first + last; System.out.println(what); //=> Kingsroad ``` -https://replit.com/@hexlet/java-basics-variables-4 diff --git a/modules/30-variables/23-constants/description.en.yml b/modules/30-variables/23-constants/description.en.yml index ae9ce89..b24a861 100644 --- a/modules/30-variables/23-constants/description.en.yml +++ b/modules/30-variables/23-constants/description.en.yml @@ -12,7 +12,6 @@ theory: | System.out.print(pi); // 3.14 ``` - https://replit.com/@hexlet/java-basics-variables-5 A constant, like a variable, can be used in any expression. The only restriction is that the constant cannot be changed, which sounds quite logical. diff --git a/modules/30-variables/23-constants/en/README.md b/modules/30-variables/23-constants/en/README.md index 3855cc0..85ebdb0 100644 --- a/modules/30-variables/23-constants/en/README.md +++ b/modules/30-variables/23-constants/en/README.md @@ -8,6 +8,5 @@ final var pi = 3.14; System.out.print(pi); // 3.14 ``` -https://replit.com/@hexlet/java-basics-variables-5 A constant, like a variable, can be used in any expression. The only restriction is that the constant cannot be changed, which sounds quite logical. diff --git a/modules/33-data-types/55-type-casting/description.en.yml b/modules/33-data-types/55-type-casting/description.en.yml index 0744114..2e51e56 100644 --- a/modules/33-data-types/55-type-casting/description.en.yml +++ b/modules/33-data-types/55-type-casting/description.en.yml @@ -22,7 +22,6 @@ theory: | In case above, in spite of the fact, that 5.1 is the number, it has double type not int. Expression above bring this number type to int type, reject fraction part, because int type doesn't keep fraction part. - https://replit.com/@hexlet/java-basics-data-types instructions: | Display the string `2 times`, obtained from the number 2.9 and the string `times`, using type conversions and concatenation. diff --git a/modules/33-data-types/55-type-casting/en/README.md b/modules/33-data-types/55-type-casting/en/README.md index 0f6e68a..55878d1 100644 --- a/modules/33-data-types/55-type-casting/en/README.md +++ b/modules/33-data-types/55-type-casting/en/README.md @@ -18,4 +18,3 @@ It's 5 In case above, in spite of the fact, that 5.1 is the number, it has double type not int. Expression above bring this number type to int type, reject fraction part, because int type doesn't keep fraction part. -https://replit.com/@hexlet/java-basics-data-types diff --git a/modules/33-data-types/55-type-casting/ru/README.md b/modules/33-data-types/55-type-casting/ru/README.md index b5506cb..6f2b1d1 100644 --- a/modules/33-data-types/55-type-casting/ru/README.md +++ b/modules/33-data-types/55-type-casting/ru/README.md @@ -23,4 +23,3 @@ var result = 10 + ((int) 5.1); System.out.println(result); // => 15 ``` -https://replit.com/@hexlet/java-basics-data-types diff --git a/modules/35-methods-using/105-methods-parameters/description.ru.yml b/modules/35-methods-using/105-methods-parameters/description.ru.yml index 818b26b..2145bef 100644 --- a/modules/35-methods-using/105-methods-parameters/description.ru.yml +++ b/modules/35-methods-using/105-methods-parameters/description.ru.yml @@ -51,7 +51,6 @@ theory: | "hexlet".substring(3, 6); // "let" ``` - https://replit.com/@hexlet/java-basics-methods-calling-1 instructions: | diff --git a/modules/35-methods-using/105-methods-parameters/ru/README.md b/modules/35-methods-using/105-methods-parameters/ru/README.md index fbf420d..456ed2a 100644 --- a/modules/35-methods-using/105-methods-parameters/ru/README.md +++ b/modules/35-methods-using/105-methods-parameters/ru/README.md @@ -46,4 +46,3 @@ searchEngine.replace("go", "mo"); // "moogle" "hexlet".substring(3, 6); // "let" ``` -https://replit.com/@hexlet/java-basics-methods-calling-1 diff --git a/modules/35-methods-using/120-methods-chain/description.ru.yml b/modules/35-methods-using/120-methods-chain/description.ru.yml index 1b1b335..bfa6bbf 100644 --- a/modules/35-methods-using/120-methods-chain/description.ru.yml +++ b/modules/35-methods-using/120-methods-chain/description.ru.yml @@ -56,7 +56,6 @@ theory: | .toLowerCase(); ``` - https://replit.com/@hexlet/java-basics-methods-chain Несмотря на удобство этого механизма, им не стоит злоупотреблять. Промежуточные переменные могут упростить понимание кода. diff --git a/modules/35-methods-using/120-methods-chain/ru/README.md b/modules/35-methods-using/120-methods-chain/ru/README.md index 7e75a68..1cce7e1 100644 --- a/modules/35-methods-using/120-methods-chain/ru/README.md +++ b/modules/35-methods-using/120-methods-chain/ru/README.md @@ -51,6 +51,5 @@ name = name.trim() .toLowerCase(); ``` -https://replit.com/@hexlet/java-basics-methods-chain Несмотря на удобство этого механизма, им не стоит злоупотреблять. Промежуточные переменные могут упростить понимание кода. diff --git a/modules/35-methods-using/200-methods-deterministic/description.ru.yml b/modules/35-methods-using/200-methods-deterministic/description.ru.yml index de62c4b..5af94ae 100644 --- a/modules/35-methods-using/200-methods-deterministic/description.ru.yml +++ b/modules/35-methods-using/200-methods-deterministic/description.ru.yml @@ -18,7 +18,6 @@ theory: | Math.random(); // 0.8839904367241888 ``` - https://replit.com/@hexlet/java-basics-pure-functions Зачем это нужно знать? Детерминированность серьезно влияет на многие аспекты. Детерминированные функции удобны в работе, их легко оптимизировать, легко тестировать. Если есть возможность сделать функцию детерминированной, то лучше ее такой и сделать. diff --git a/modules/35-methods-using/200-methods-deterministic/ru/README.md b/modules/35-methods-using/200-methods-deterministic/ru/README.md index f89ac48..073ce04 100644 --- a/modules/35-methods-using/200-methods-deterministic/ru/README.md +++ b/modules/35-methods-using/200-methods-deterministic/ru/README.md @@ -13,6 +13,5 @@ Math.random(); // 0.09856613113197676 Math.random(); // 0.8839904367241888 ``` -https://replit.com/@hexlet/java-basics-pure-functions Зачем это нужно знать? Детерминированность серьезно влияет на многие аспекты. Детерминированные функции удобны в работе, их легко оптимизировать, легко тестировать. Если есть возможность сделать функцию детерминированной, то лучше ее такой и сделать. diff --git a/modules/40-methods-definition/200-method-definition-return/description.ru.yml b/modules/40-methods-definition/200-method-definition-return/description.ru.yml index ec35b92..efab5da 100644 --- a/modules/40-methods-definition/200-method-definition-return/description.ru.yml +++ b/modules/40-methods-definition/200-method-definition-return/description.ru.yml @@ -124,7 +124,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-return В этом примере в определении метода использовался `long`, так как возвращается целое число. diff --git a/modules/40-methods-definition/200-method-definition-return/ru/README.md b/modules/40-methods-definition/200-method-definition-return/ru/README.md index 57ce061..4914572 100644 --- a/modules/40-methods-definition/200-method-definition-return/ru/README.md +++ b/modules/40-methods-definition/200-method-definition-return/ru/README.md @@ -119,7 +119,6 @@ class App { } ``` -https://replit.com/@hexlet/java-basics-return В этом примере в определении метода использовался `long`, так как возвращается целое число. diff --git a/modules/40-methods-definition/300-method-definition-parameters/description.ru.yml b/modules/40-methods-definition/300-method-definition-parameters/description.ru.yml index b2e2706..5249082 100644 --- a/modules/40-methods-definition/300-method-definition-parameters/description.ru.yml +++ b/modules/40-methods-definition/300-method-definition-parameters/description.ru.yml @@ -52,7 +52,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-methods-parameters-1 Разберем этот код подробнее. `char` говорит нам о типе возвращаемого значения. Далее в скобках указывается тип параметра `String` и его имя `str`. @@ -86,7 +85,6 @@ theory: | App.average(1, 2); // 1.5 ``` - https://replit.com/@hexlet/java-basics-methods-parameters-2 Методы могут требовать на вход любое количество параметров, которое им нужно для работы: diff --git a/modules/40-methods-definition/400-method-definition-default-parameters/ru/README.md b/modules/40-methods-definition/400-method-definition-default-parameters/ru/README.md index 428a317..e754b2e 100644 --- a/modules/40-methods-definition/400-method-definition-default-parameters/ru/README.md +++ b/modules/40-methods-definition/400-method-definition-default-parameters/ru/README.md @@ -87,6 +87,5 @@ class App { } ``` -https://replit.com/@hexlet/java-basics-default-parameters В этом примере мы не сократили код, но он наглядно показывает принцип, описанный выше. diff --git a/modules/45-logic/12-string-comparasion/description.ru.yml b/modules/45-logic/12-string-comparasion/description.ru.yml index 4fef2db..188ef9a 100644 --- a/modules/45-logic/12-string-comparasion/description.ru.yml +++ b/modules/45-logic/12-string-comparasion/description.ru.yml @@ -118,7 +118,6 @@ theory: | name1.equals(name2); // true ``` - https://replit.com/@hexlet/java-basics-logical-operations Помимо `equals()`, в строки встроен метод `equalsIgnoreCase()`, который выполняет проверку по значению без учета регистра: diff --git a/modules/45-logic/12-string-comparasion/ru/README.md b/modules/45-logic/12-string-comparasion/ru/README.md index 4934aa1..4f65415 100644 --- a/modules/45-logic/12-string-comparasion/ru/README.md +++ b/modules/45-logic/12-string-comparasion/ru/README.md @@ -111,7 +111,6 @@ var name2 = "java".toUpperCase(); // "JAVA" name1.equals(name2); // true ``` -https://replit.com/@hexlet/java-basics-logical-operations Помимо `equals()`, в строки встроен метод `equalsIgnoreCase()`, который выполняет проверку по значению без учета регистра: diff --git a/modules/45-logic/20-combine-expressions/description.ru.yml b/modules/45-logic/20-combine-expressions/description.ru.yml index f943221..cc46ae8 100644 --- a/modules/45-logic/20-combine-expressions/description.ru.yml +++ b/modules/45-logic/20-combine-expressions/description.ru.yml @@ -34,7 +34,6 @@ theory: | App.isEven(3); // false ``` - https://replit.com/@hexlet/java-basics-logical-operations-1 В одном выражении мы скомбинировали два логических оператора: diff --git a/modules/45-logic/20-combine-expressions/ru/README.md b/modules/45-logic/20-combine-expressions/ru/README.md index ae55b28..d8e0c1f 100644 --- a/modules/45-logic/20-combine-expressions/ru/README.md +++ b/modules/45-logic/20-combine-expressions/ru/README.md @@ -30,7 +30,6 @@ App.isEven(10); // true App.isEven(3); // false ``` -https://replit.com/@hexlet/java-basics-logical-operations-1 В одном выражении мы скомбинировали два логических оператора: diff --git a/modules/45-logic/25-logical-operators/description.ru.yml b/modules/45-logic/25-logical-operators/description.ru.yml index 1d0f4a8..afd7e6e 100644 --- a/modules/45-logic/25-logical-operators/description.ru.yml +++ b/modules/45-logic/25-logical-operators/description.ru.yml @@ -53,7 +53,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-logical-operators Область математики, в которой изучаются логические операторы, называется **булевой алгеброй**. Ниже показаны «таблицы истинности» — по ним можно определить, каким будет результат применения оператора: diff --git a/modules/45-logic/25-logical-operators/ru/README.md b/modules/45-logic/25-logical-operators/ru/README.md index ec998f5..532d6c0 100644 --- a/modules/45-logic/25-logical-operators/ru/README.md +++ b/modules/45-logic/25-logical-operators/ru/README.md @@ -49,7 +49,6 @@ public static boolean isGoodApartment(int area, String street) { } ``` -https://replit.com/@hexlet/java-basics-logical-operators Область математики, в которой изучаются логические операторы, называется **булевой алгеброй**. Ниже показаны «таблицы истинности» — по ним можно определить, каким будет результат применения оператора: diff --git a/modules/80-conditionals/50-else-if/description.ru.yml b/modules/80-conditionals/50-else-if/description.ru.yml index e7b7539..9650431 100644 --- a/modules/80-conditionals/50-else-if/description.ru.yml +++ b/modules/80-conditionals/50-else-if/description.ru.yml @@ -45,7 +45,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-if-else Теперь все условия выстроены в единую конструкцию. Оператор `else if` — это «если не выполнено предыдущее условие, но выполнено текущее». Получается такая схема: diff --git a/modules/80-conditionals/50-else-if/ru/README.md b/modules/80-conditionals/50-else-if/ru/README.md index 7867658..1cb4191 100644 --- a/modules/80-conditionals/50-else-if/ru/README.md +++ b/modules/80-conditionals/50-else-if/ru/README.md @@ -40,7 +40,6 @@ public static String getTypeOfSentence(String sentence) } ``` -https://replit.com/@hexlet/java-basics-if-else Теперь все условия выстроены в единую конструкцию. Оператор `else if` — это «если не выполнено предыдущее условие, но выполнено текущее». Получается такая схема: diff --git a/modules/90-loops/100-while/description.ru.yml b/modules/90-loops/100-while/description.ru.yml index 9c78a44..666cc1c 100644 --- a/modules/90-loops/100-while/description.ru.yml +++ b/modules/90-loops/100-while/description.ru.yml @@ -53,7 +53,6 @@ theory: | finished! - https://replit.com/@hexlet/java-basics-while В коде метода использован цикл `while`. Он состоит из трех элементов: diff --git a/modules/90-loops/100-while/ru/README.md b/modules/90-loops/100-while/ru/README.md index 8bed61b..9194243 100644 --- a/modules/90-loops/100-while/ru/README.md +++ b/modules/90-loops/100-while/ru/README.md @@ -48,7 +48,6 @@ App.printNumbers(3); finished! -https://replit.com/@hexlet/java-basics-while В коде метода использован цикл `while`. Он состоит из трех элементов: diff --git a/modules/90-loops/350-build-strings/ru/README.md b/modules/90-loops/350-build-strings/ru/README.md index 8910514..ffcd3e6 100644 --- a/modules/90-loops/350-build-strings/ru/README.md +++ b/modules/90-loops/350-build-strings/ru/README.md @@ -28,6 +28,5 @@ App.reverse(name); // "narB" App.reverse(""); // "" ``` -https://replit.com/@hexlet/java-basics-loops-using-2 Важно прочувствовать, как собирается сама строка — каждый следующий символ прикрепляется к результирующей строке слева, и в итоге строка оказывается перевернута. diff --git a/modules/90-loops/550-for/description.ru.yml b/modules/90-loops/550-for/description.ru.yml index 3e15f4e..111ae07 100644 --- a/modules/90-loops/550-for/description.ru.yml +++ b/modules/90-loops/550-for/description.ru.yml @@ -20,7 +20,6 @@ theory: | } ``` - https://replit.com/@hexlet/java-basics-conditions-for Этот код можно описать так: diff --git a/modules/90-loops/550-for/ru/README.md b/modules/90-loops/550-for/ru/README.md index 8d758fe..8d97bc1 100644 --- a/modules/90-loops/550-for/ru/README.md +++ b/modules/90-loops/550-for/ru/README.md @@ -15,7 +15,6 @@ public static String reverseString(String str) { } ``` -https://replit.com/@hexlet/java-basics-conditions-for Этот код можно описать так: