This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task20.task2027; | |
import java.util.ArrayList; | |
import java.util.List; | |
/* | |
Кроссворд | |
*/ | |
public class Solution { | |
public static void main(String[] args) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task22.task2207; | |
import java.io.*; | |
import java.util.LinkedList; | |
import java.util.List; | |
/* | |
Обращенные слова | |
*/ | |
public class Solution { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task22.task2209; | |
import java.io.BufferedReader; | |
import java.io.FileReader; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.util.ArrayList; | |
import java.util.TreeSet; | |
/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task22.task2211; | |
import java.io.*; | |
import java.nio.charset.Charset; | |
/* | |
Смена кодировки | |
*/ | |
public class Solution { | |
public static void main(String[] args) throws IOException { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task22.task2212; | |
import java.util.ArrayList; | |
import java.util.regex.Pattern; | |
/* | |
Проверка номера телефона | |
*/ | |
public class Solution { | |
public static boolean checkTelNumber(String telNumber) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task23.task2312; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.FocusEvent; | |
import java.awt.event.FocusListener; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
import java.util.Queue; | |
import java.util.concurrent.ArrayBlockingQueue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task23.task2312; | |
import javax.swing.*; | |
import java.awt.*; | |
import java.awt.event.FocusEvent; | |
import java.awt.event.FocusListener; | |
import java.awt.event.KeyEvent; | |
import java.awt.event.KeyListener; | |
import java.util.Queue; | |
import java.util.concurrent.ArrayBlockingQueue; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task24.task2413; | |
import java.awt.event.KeyEvent; | |
import java.util.ArrayList; | |
/** | |
* Главный класс игры | |
*/ | |
public class Arkanoid { | |
// ширина и высота |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task24.task2408; | |
import java.util.Date; | |
/* | |
В работе вам иногда будет нужно закастить класс к какому-нибудь другому классу, не интерфейсу :))) | |
Класс DogPet использует 2 класса - SuperDog и Dog, разберись с getName в классе DogPet | |
Так намного лучше, чем Copy+Paste! | |
*/ | |
public class Dog implements Pet { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.javarush.task.task24.task2409; | |
public interface Item { | |
int getId(); | |
double getPrice(); | |
String getTM(); | |
} |
OlderNewer