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 HomeWork; | |
/** | |
* Created by Andrey on 21.12.2015. | |
*/ | |
public class ArraysTask1ArraysFiller { | |
public static void main(String[] args) { | |
int filler = 5; |
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 HomeWork; | |
/** | |
* Created by Andrey on 27.12.2015. | |
*/ | |
public class ArraysTask3ArrayPositiveFinder { | |
public static void main(String[] args) { | |
int[] array = {3, -5, -1, 4, -2, -5}; | |
System.out.println(findFirstPositive(array)); | |
System.out.println(findLastPositive(array)); |
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 HomeWork; | |
/** | |
* Created by Andrey on 02.01.2016. | |
*/ | |
public class ArraysTask10IdentityMatrixChecker { | |
public static void main(String[] args) { | |
int[][] matrix = {{1, 0, 0}, {0, 1, 0}, {0, 0, 1}}; | |
// int[][] matrix = {{1, 0, 2}, {0, 1, 0}, {2, 0, 1}}; |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 08.01.2016. | |
*/ | |
public class ConditionsLoopsTask4DigitsSumCalculator { | |
public static final int RADIX_TEN = 10; | |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 08.01.2016. | |
*/ | |
public class ConditionsLoopsTask4DigitsSumCalculator { | |
public static final int RADIX_TEN = 10; | |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 09.01.2016. | |
*/ | |
public class ConditionsLoopsTask5RhombusPrinter { | |
public static final String S_POINT = " . "; | |
public static final String S_STAR = " * "; |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 06.01.2016. | |
*/ | |
public class ConditionsLoopsTask1DigitsPrinter { | |
public static final int RADIX = 10; | |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 10.01.2016. | |
*/ | |
public class ArraysTask1FrequentElemFinder { | |
public static void main(String[] args) { | |
int[] array = {1, 2, 1, 0, 3}; | |
System.out.print(findFrequentElem(array)); | |
} |
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 HomeWorkSecond; | |
/** | |
* Created by Andrey on 10.01.2016. | |
*/ | |
public class ArraysTask1FrequentElemFinder { | |
public static void main(String[] args) { | |
int[] array = {1, 2, 1, 0, 3}; | |
System.out.print(findFrequentElem(array)); | |
} |
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 CRUD_2; | |
import java.io.*; | |
import java.nio.charset.StandardCharsets; | |
import java.util.*; | |
/** | |
* Created by 33558 on 09.05.2016. | |
*/ | |
public class CRUD_Runner { |
OlderNewer