Promotion
Java University
Learning
Course
Tasks
Surveys & Quizzes
Games
Help
Butt-kicking schedule
Internship
Community
Users
Forum
Chat
Articles
Success stories
Activity
Reviews
Subscriptions
Light theme
Help with tasks
Reviews
About us
CS50
Start
Start learning
Start learning now
All questions
Ask a question
All quests
All levels
Any status
Questions about tasks
Hot
Gunbilig
Level 1
Resolved
определение конструктор и super на джава
Может ли кто-нибудь дать мне очень четкое определение конструктор и super на джава. 😇
22.01.2023
65
views
1
comment
0
azizbeyli
Level 3
Under discussion
keyboard input!
Hi there! I was reading about 7th lesson of second level(keyboard input).But actually its like to fall into the ocean immidiately.There's no lesson that I can match the informations with each other.the topic talks about keyboard input but the examples including bufferedreader inputstream and etc.Don
18.01.2023
58
views
2
comments
0
Kirill
Level 22
Under discussion
Расскажите, что делает это программа?
Добрый день! написал все, но не понимаю как все это взаимодействуете до конца, то только на уровне догадок)) изображение кода в комментариях
15.01.2023
67
views
3
comments
0
Макс Поташов
Level 2
Question about the task
How to take over the world
Java Syntax
,
Level 2
,
Lesson 8
Under discussion
Ответ
Используйте 2 конструкцию из предыдущей лекции и не забывайте про пробелы
11.01.2023
65
views
1
comment
0
Kirill
Level 22
Question about the task
A cubed cube calculator
Java Syntax
,
Level 7
,
Lesson 3
Under discussion
Что не устраивает?
Код выполняется. Проверил с выводом на консоль. 2 возводиться в 9ю степень. А валидатор заявляет, что метод ninthDegree не использует метод coub
08.01.2023
77
views
6
comments
0
Kirill
Level 22
Question about the task
Correct order
Java Syntax
,
Level 7
,
Lesson 2
Under discussion
Кто объяснит код?
Всем привет! может кто объяснить. решил задачу, но в голове не укладывается. использовал данный цикл: for(int i=0;i
08.01.2023
81
views
6
comments
0
Kirill
Level 22
Question about the task
Is anyone there?
Java Syntax
,
Level 6
,
Lesson 8
Under discussion
Как вывести результат?
Приветствую! кто подскажет, как вывести true или false. Пробовал вариант с Sout(index>0); Выводит true, но не проходит проверку
05.01.2023
89
views
3
comments
0
Kirill
Level 22
Question about the task
Cutting down the middle
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
нужна помощь!
Сделал цикл. Вообще на экран ничего не выводится. Решил в цикл добавить условие, но теперь ошибка в методе "private static void printArray". Галочкой выделяет private и пишет "illegal star of expression". Также, в условие не понимаю как исключить нижнюю строку и правый столбец
30.12.2022
93
views
6
comments
0
Kirill
Level 22
Under discussion
Где найти подсказку?
Где можно найти материал, чтобы найти способ как заменить элементы. Можно каждый элемент перебрать вручную, но, наверняка, есть какой нибудь способ это автоматизировать
28.12.2022
89
views
10
comments
0
Kirill
Level 22
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Under discussion
В чем ошибка?
Что не так с кодом? про проверки задачи с выполнением условия, что чёрные это #, а белые " ", выдает ошибка что нельзя конвертировать string в char. Меняю на цифры, ошибки нет, но и выходных данных нет и не выполнения условия
28.12.2022
64
views
1
comment
0
LipskyiAlex
Level 15
Question about the task
Chess board
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Все работает, меня размер массива в IDE, не пойму в чем проблема. 3 ошибки из4-х
Scanner reader = new Scanner (System.in); int n = reader.nextInt(); char[][] array = new char [n][n]; int count=0; for (int i=0;i for (int j=0;j
13.10.2022
118
views
6
comments
0
Kirill
Level 22
Question about the task
Multiplication table
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Запутался в данной теме
Совсем запутался в данной теме. что не так с кодом? подскажите. выдает ошибку и результат совсем другой
26.12.2022
85
views
4
comments
0
Kay
Level 3
Question about the task
Contract
Java Syntax
,
Level 2
,
Lesson 6
Under discussion
I'm trying to understand why the code doesn't run. I wrote 5 lines including the emplty lines. Still it doesn't work.
I'm trying to understand why doesnt code run. I wrote 5 lines including the emplty lines. Still it doesn't work.
26.12.2022
63
views
2
comments
0
Kay
Level 3
Question about the task
Display the square of a number
Java Syntax
,
Level 2
,
Lesson 3
Under discussion
How can I solve this task? Should I use multiplication symbol of value (number*number) with the int type?
How can I solve this task? Should I use multiplication symbol of value (number*number) with the int type?
26.12.2022
61
views
1
comment
0
Gunbilig
Level 1
Under discussion
контрольная работа
Добрый, вы можете помочь мне по контрольной работе. Это очень важная пожалуйста
19.12.2022
91
views
1
comment
0
Kirill
Level 22
Question about the task
One large array and two small ones
Java Syntax
,
Level 6
,
Lesson 4
Resolved
Как разбить один массив, на два маленьких и вы вести на экран?
Перепробовал несколько вариантов, ни один не рабочий. Подскажите, пожалуйста!
21.12.2022
84
views
3
comments
0
Chris
Level 23
Question about the task
Correct order
Java Syntax
,
Level 7
,
Lesson 2
Resolved
Друзья подскажите почему не прохожу валидатор ???
package en.javarush.task.pro.task06.task0605; /* Correct order */ public class Solution { public static void main(String[] args) { int[] array = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; printArray(array); reverseArray(array); printArray(array); } public stati
19.12.2022
80
views
5
comments
0
Alex
Level 6
Question about the task
Street and houses
Java Syntax
,
Level 6
,
Lesson 4
Under discussion
Алгоритм продумал и все пашет идеально, но валидатор ругается, в чем проблема?
Сделал подсчет каждого числа по Odd/Even/Equal, продебажил всн работает как надо, а вадидатор ругается. Подскажите, пожалуйства в чем моя ошибка.
19.12.2022
134
views
4
comments
0
Kirill
Level 22
Question about the task
String array in reverse order
Java Syntax
,
Level 6
,
Lesson 3
Resolved
В каком направлении мыслить?
Добрый день! Не понимаю как выполнить условия задачи. Чтобы выводилось 10 строк и в обратном порядке. В каком направлении мыслить?
17.12.2022
91
views
6
comments
0
Cонечка
Level 25
Question about the task
From a small bucket to a big one
Java Syntax
,
Level 12
,
Lesson 4
Under discussion
В чем разница?
В чем разница между правильным решением и моим ? public static double getSquare(long number) { double newNum = (double) (number * number); return newNum; } По идее должно работать одинаково, но нет. Чего я не понимаю?
14.12.2022
65
views
1
comment
0
Chris
Level 23
Question about the task
Filling an array
Java Syntax
,
Level 6
,
Lesson 8
Resolved
Друзья в чём же проблема ??? Вывод вроде даёт правильный, а валидатор не прохожу
package en.javarush.task.pro.task05.task0516; import java.util.Arrays; /* Filling an array */ public class Solution { public static int[] array = new int[20]; public static int valueStart = 10; public static int valueEnd = 13; public static int half = array.length/2;
07.12.2022
97
views
4
comments
0
Kirill
Level 22
Question about the task
Adding
Java Syntax
,
Level 4
,
Lesson 10
Resolved
Сосчитать сумму введенных чисел, пока не будет введено -1
Кто подскажет, в чем ошибка? Задача не компилируется. Не понимаю в каком направлении двигаться
03.12.2022
85
views
2
comments
0
Chris
Level 23
Question about the task
Creating a two-dimensional array
Java Syntax
,
Level 6
,
Lesson 6
Resolved
Не прохожу по последнему требованию, подскажите в чём проблема ?
package en.javarush.task.pro.task05.task0511; import java.util.Scanner; /* Creating a two-dimensional array */ public class Solution { public static int[][] multiArray; public static void main(String[] args) { Scanner scanner = new Scanner (System.in); //запускаем сканнер int R
01.12.2022
85
views
2
comments
0
Chris
Level 23
Question about the task
Triangular array
Java Syntax
,
Level 6
,
Lesson 6
Resolved
Ребят помогите, не прохожу первое требование хотя вывод вроде правильный, не понимаю что не так ?
package en.javarush.task.pro.task05.task0510; /* Triangular array */ public class Solution { public static int[][] result = new int[10][]; public static void main(String[] args) { int [][] array = new int [10][]; //обозначили размер массива в ширине (горизонталь) array[0] = new i
27.11.2022
72
views
2
comments
0
Svetlana
Level 1
Under discussion
Смена режима обучения
Подскажите, пожалуйста, как сменить режим геймификации на обычный?
01.01.2022
101
views
1
comment
1
Chris
Level 23
Question about the task
Street and houses
Java Syntax
,
Level 6
,
Lesson 4
Resolved
Ребята хэлп ! код вроде правильный но почему-то не прохожу по требованиям, пару дней уже убил на решение и ничего.
package en.javarush.task.jdk13.task07.task0706; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Scanner; /* Street and houses */ public class Solution { public static void main(String[] args) throws IOException { Scanner reader =
01.11.2022
91
views
4
comments
0
Chris
Level 23
Question about the task
Multiplication table
Java Syntax
,
Level 6
,
Lesson 5
Resolved
Пожалуйста обьясните как мне правильно заполнить массив чтобы выполнить первое требование !
int [][]MULTIPLICATION_TABLE = new int [10][10]; int n=1; while (n<11) { int k =1; MULTIPLICATION_TABLE[0][1]=k; while (k<11){ int z=n; z=z*k; MULTIPLICATION_TABLE[1][0]=z; System.out.print(MULTIPLICATION_TABLE[1][0]+" "); k++;
10.11.2022
93
views
3
comments
0
Gunbilig
Level 1
New
Как представить?
package holidbaha; /* 2. Дан целочисленный двумерный массив размера M×N, заполненный построчно случайными * значениями в диапазоне от -99 до 99. Этот массив вывести на экран. Заменить исходный * массив новым, в котором удален ее первый столбец, содержащий только положительные * элементы (номер
25.11.2022
52
views
0
comments
0
Anonymous #3050323
Level 6
Question about the task
Positive number
Java Syntax
,
Level 3
,
Lesson 10
Under discussion
считывает тольк первую положительную цифру
Почему-то у меня считывает только первую positive number, а когда я изменяю вводные цифры на 2 или более положительные цифры все равно показывает 1? И как можно сделать код короче чтоб не писать if statement для каждой вводной? посоветуйте плиз :')
27.05.2022
148
views
4
comments
0
Даниил Кузнецов
Level 5
Question about the task
Good or bad?
Java Syntax
,
Level 3
,
Lesson 7
Under discussion
illegal start of program
подскажите пожалуйста в чем проблема использовать именно else if ,дело в том что мы используем int.class? если не сложно распишите пожалуйста в чем именно дело
17.11.2022
67
views
4
comments
0
Show more
1
2
3
4
5
6
Please enable JavaScript to continue using this application.