├── ATM ├── .gitignore ├── src │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── README.md ├── arrays ├── .gitignore ├── src │ └── arrays │ │ ├── SortedArray.java │ │ ├── CloseNumbers.java │ │ ├── NumberFrequency.java │ │ ├── Transpose.java │ │ ├── BLetter.java │ │ └── FindDuplicate.java ├── .classpath └── .project ├── boxingGame ├── .gitignore ├── src │ └── boxingGame │ │ ├── Ring.java │ │ ├── Fighter.java │ │ └── Main.java ├── .classpath └── .project ├── ebobEkok ├── .gitignore ├── src │ └── ebobEkok │ │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── fibonacci ├── .gitignore ├── src │ └── fibonacci │ │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── findMaxMin ├── .gitignore ├── src │ └── findMaxMin │ │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── mineSweeper ├── .gitignore ├── src │ └── mineSweeper │ │ ├── Main.java │ │ └── MineSweeper.java ├── .classpath └── .project ├── primeNumber ├── .gitignore ├── src │ ├── primeNumberWithRecursive │ │ └── Main.java │ └── primeNumber │ │ └── Main.java ├── .classpath └── .project ├── harmonicAverage ├── .gitignore ├── .classpath ├── src │ └── harmonicAverage │ │ └── Main.java └── .project ├── palindromNumber ├── .gitignore ├── .classpath ├── .project └── src │ └── palindromNumber │ └── Main.java ├── palindromicWords ├── .gitignore ├── .classpath ├── .project └── src │ └── palindromicWords │ └── Main.java ├── perfectNumber ├── .gitignore ├── src │ └── perfectNumber │ │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── recursivePattern ├── .gitignore ├── src │ └── recursivePattern │ │ └── Main.java ├── .classpath └── .project ├── salaryCalculator ├── .gitignore ├── src │ └── salaryCalculator │ │ ├── Employee.java │ │ └── Main.java ├── .classpath └── .project ├── numberGuessingGame ├── .gitignore ├── src │ └── numberGuessingGame │ │ └── Main.java ├── .classpath └── .project ├── invertedTriangleWithStars ├── .gitignore ├── src │ └── invertedTriangleWithStars │ │ └── Main.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── studentInformationSystem ├── .gitignore ├── src │ └── studentInformationSystem │ │ ├── Main.java │ │ ├── Course.java │ │ ├── Student.java │ │ └── Teacher.java ├── .classpath ├── .project └── .settings │ └── org.eclipse.jdt.core.prefs ├── advancedCalculator ├── src │ └── advancedCalculator │ │ └── Main.java ├── .classpath └── .project └── exponentCalculationWithRecursiveMethod ├── src └── exponentCalculationWithRecursiveMethod │ └── Main.java ├── .classpath └── .project /ATM/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # patikaJava101 -------------------------------------------------------------------------------- /arrays/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /boxingGame/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /ebobEkok/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /fibonacci/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /findMaxMin/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /mineSweeper/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /primeNumber/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /harmonicAverage/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /palindromNumber/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /palindromicWords/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /perfectNumber/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /recursivePattern/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /salaryCalculator/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /numberGuessingGame/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /invertedTriangleWithStars/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /studentInformationSystem/.gitignore: -------------------------------------------------------------------------------- 1 | /bin/ 2 | -------------------------------------------------------------------------------- /ATM/src/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/ATM/src/Main.java -------------------------------------------------------------------------------- /ebobEkok/src/ebobEkok/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/ebobEkok/src/ebobEkok/Main.java -------------------------------------------------------------------------------- /arrays/src/arrays/SortedArray.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/arrays/src/arrays/SortedArray.java -------------------------------------------------------------------------------- /fibonacci/src/fibonacci/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/fibonacci/src/fibonacci/Main.java -------------------------------------------------------------------------------- /arrays/src/arrays/CloseNumbers.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/arrays/src/arrays/CloseNumbers.java -------------------------------------------------------------------------------- /boxingGame/src/boxingGame/Ring.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/boxingGame/src/boxingGame/Ring.java -------------------------------------------------------------------------------- /findMaxMin/src/findMaxMin/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/findMaxMin/src/findMaxMin/Main.java -------------------------------------------------------------------------------- /arrays/src/arrays/NumberFrequency.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/arrays/src/arrays/NumberFrequency.java -------------------------------------------------------------------------------- /boxingGame/src/boxingGame/Fighter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/boxingGame/src/boxingGame/Fighter.java -------------------------------------------------------------------------------- /mineSweeper/src/mineSweeper/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/mineSweeper/src/mineSweeper/Main.java -------------------------------------------------------------------------------- /perfectNumber/src/perfectNumber/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/perfectNumber/src/perfectNumber/Main.java -------------------------------------------------------------------------------- /mineSweeper/src/mineSweeper/MineSweeper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/mineSweeper/src/mineSweeper/MineSweeper.java -------------------------------------------------------------------------------- /recursivePattern/src/recursivePattern/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/recursivePattern/src/recursivePattern/Main.java -------------------------------------------------------------------------------- /advancedCalculator/src/advancedCalculator/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/advancedCalculator/src/advancedCalculator/Main.java -------------------------------------------------------------------------------- /numberGuessingGame/src/numberGuessingGame/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/numberGuessingGame/src/numberGuessingGame/Main.java -------------------------------------------------------------------------------- /primeNumber/src/primeNumberWithRecursive/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/primeNumber/src/primeNumberWithRecursive/Main.java -------------------------------------------------------------------------------- /salaryCalculator/src/salaryCalculator/Employee.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/salaryCalculator/src/salaryCalculator/Employee.java -------------------------------------------------------------------------------- /studentInformationSystem/src/studentInformationSystem/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/studentInformationSystem/src/studentInformationSystem/Main.java -------------------------------------------------------------------------------- /invertedTriangleWithStars/src/invertedTriangleWithStars/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/invertedTriangleWithStars/src/invertedTriangleWithStars/Main.java -------------------------------------------------------------------------------- /studentInformationSystem/src/studentInformationSystem/Course.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/studentInformationSystem/src/studentInformationSystem/Course.java -------------------------------------------------------------------------------- /studentInformationSystem/src/studentInformationSystem/Student.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/studentInformationSystem/src/studentInformationSystem/Student.java -------------------------------------------------------------------------------- /exponentCalculationWithRecursiveMethod/src/exponentCalculationWithRecursiveMethod/Main.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/burcubayik/patikaJava101/HEAD/exponentCalculationWithRecursiveMethod/src/exponentCalculationWithRecursiveMethod/Main.java -------------------------------------------------------------------------------- /arrays/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /boxingGame/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /mineSweeper/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /primeNumber/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /harmonicAverage/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /palindromNumber/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /palindromicWords/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /recursivePattern/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /salaryCalculator/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /advancedCalculator/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /numberGuessingGame/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /exponentCalculationWithRecursiveMethod/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /salaryCalculator/src/salaryCalculator/Main.java: -------------------------------------------------------------------------------- 1 | package salaryCalculator; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | Employee employee1= new Employee("kemal",2000,45,1985); 7 | System.out.println(employee1.toString()); 8 | 9 | 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /boxingGame/src/boxingGame/Main.java: -------------------------------------------------------------------------------- 1 | package boxingGame; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | Fighter fighter1=new Fighter("Marc",100,90,15,0); 7 | Fighter fighter2=new Fighter("Alex",95,100,15,0); 8 | Ring ring=new Ring(fighter1,fighter2, 90,100); 9 | ring.run(); 10 | 11 | } 12 | 13 | } 14 | -------------------------------------------------------------------------------- /primeNumber/src/primeNumber/Main.java: -------------------------------------------------------------------------------- 1 | package primeNumber; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | 7 | for(int i=2; i<=100;i++) { 8 | boolean check=true; 9 | for(int k=2; k 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ebobEkok/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /fibonacci/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /findMaxMin/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ATM/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ATM 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /perfectNumber/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /arrays/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | arrays 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /ebobEkok/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | ebobEkok 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /fibonacci/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | fibonacci 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /harmonicAverage/src/harmonicAverage/Main.java: -------------------------------------------------------------------------------- 1 | package harmonicAverage; 2 | 3 | public class Main { 4 | 5 | public static void main(String[] args) { 6 | int[] numbers= {1,2,3,4,5,6}; 7 | double harmonicSeries=0,average=0; 8 | for(int i=0;i 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /studentInformationSystem/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /boxingGame/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | boxingGame 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /findMaxMin/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | findMaxMin 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /mineSweeper/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | mineSweeper 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /primeNumber/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | primeNumber 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /perfectNumber/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | perfectNumber 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /harmonicAverage/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | harmonicAverage 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /palindromNumber/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | palindromNumber 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /palindromicWords/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | palindromicWords 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /recursivePattern/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | recursivePattern 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /salaryCalculator/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | salaryCalculator 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /advancedCalculator/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | advancedCalculator 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /numberGuessingGame/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | numberGuessingGame 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /studentInformationSystem/src/studentInformationSystem/Teacher.java: -------------------------------------------------------------------------------- 1 | package studentInformationSystem; 2 | 3 | public class Teacher { 4 | String firstName; 5 | String lastName; 6 | String phoneNumber; 7 | String branch; 8 | public Teacher(String firstName, String lastName, String phoneNumber, String branch) { 9 | 10 | this.firstName = firstName; 11 | this.lastName = lastName; 12 | this.phoneNumber = phoneNumber; 13 | this.branch = branch; 14 | } 15 | 16 | } 17 | -------------------------------------------------------------------------------- /studentInformationSystem/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | studentInformationSystem 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /invertedTriangleWithStars/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | invertedTriangleWithStars 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /exponentCalculationWithRecursiveMethod/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | exponentCalculationWithRecursiveMethod 4 | 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.jdt.core.javanature 16 | 17 | 18 | -------------------------------------------------------------------------------- /arrays/src/arrays/Transpose.java: -------------------------------------------------------------------------------- 1 | package arrays; 2 | 3 | import java.util.Arrays; 4 | 5 | public class Transpose { 6 | public static void transpose(int[][] matris) { 7 | int[][] matrisTranspose= new int[matris[0].length][matris.length]; 8 | for(int i=0; i=0;i--) { 20 | reverse+=str.charAt(i); 21 | } 22 | if(str.contains(reverse)) { 23 | return true; 24 | } 25 | return false; 26 | } 27 | 28 | public static void main(String[] args) { 29 | String str="kabak"; 30 | System.out.println(isPalindrome(str)); 31 | 32 | } 33 | 34 | } 35 | -------------------------------------------------------------------------------- /ATM/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=16 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=16 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=16 15 | -------------------------------------------------------------------------------- /ebobEkok/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=16 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=16 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=16 15 | -------------------------------------------------------------------------------- /fibonacci/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=16 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=16 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=16 15 | -------------------------------------------------------------------------------- /findMaxMin/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=16 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=16 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=16 15 | -------------------------------------------------------------------------------- /perfectNumber/.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled 3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=16 4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve 5 | org.eclipse.jdt.core.compiler.compliance=16 6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate 7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate 8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate 9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error 10 | org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled 11 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error 12 | org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning 13 | org.eclipse.jdt.core.compiler.release=enabled 14 | org.eclipse.jdt.core.compiler.source=16 15 | -------------------------------------------------------------------------------- /arrays/src/arrays/FindDuplicate.java: -------------------------------------------------------------------------------- 1 | package arrays; 2 | 3 | import java.util.Arrays; 4 | 5 | public class FindDuplicate { 6 | static boolean isFind(int[] arr,int value) { 7 | for(int i: arr) { 8 | if(i==value) { 9 | return true; 10 | } 11 | } 12 | return false; 13 | } 14 | 15 | public static void main(String[] args) { 16 | int[] list= {3,7,3,3,2,9,6,1,9,1,2}; 17 | int[] duplicate= new int[list.length]; 18 | int startIndex=0; 19 | for(int i=0; i