├── 2d-array-max-and-replace-factors-with-max-java.zip ├── 2d-sum-of-rows-java.zip ├── 2nd-max-and-prime-or-not-java2.zip ├── Java ├── 2d-array-max-and-replace-factors-with-max-java.java ├── 2d-sum-of-rows-java.java ├── 2nd-max-and-prime-or-not.java ├── Voting_candidate.java ├── array-0-s-at-last-with-duplicate-arr.java ├── array-0-s-at-last-without-duplicate-arr.java ├── char-multiplier.java ├── dimond.java ├── function-java-string.java ├── hierarchical-inheritance-venki.java ├── hierarchical-inheritance.java ├── hollow-diamond.java ├── info.java ├── jagged-array.java ├── java-conversion.java ├── main-method-overloading.java ├── math-methods-in-java.java ├── max-of-digit.java ├── method-overriding.java ├── print-union-without-duplicate-ele.java ├── single-inheritance.java ├── string-buffer-methods.java ├── sum-diagonal.java ├── super-keyword.java ├── transfer-adjacent-ele.java ├── user-defined-jagged-array.java └── valid-date-format.java ├── README.md ├── array-0-s-at-last-with-duplicate-arr-java.zip ├── array-0-s-at-last-without-duplicate-arr-java2.zip ├── char-multiplier.zip ├── dimond-java.zip ├── function-java-string.zip ├── hierarchical-inheritance-venki.zip ├── hierarchical-inheritance.zip ├── hollow-diamond-java.zip ├── jagged-array-java1.zip ├── java-conversion.zip ├── java-project.zip ├── java1.zip ├── main-method-overloading.zip ├── math-methods-in-java (1).zip ├── max-of-digit-java.zip ├── method-overriding.zip ├── print-union-without-duplicate-ele-java.zip ├── single-inheritance.zip ├── string-buffer-methods-java.zip ├── sum-diagonal-java.zip ├── super-keyword-java.zip ├── transfer-adjacent-ele-java.zip ├── user-defined-jagged-array-java.zip └── valid-date-format.zip /2d-array-max-and-replace-factors-with-max-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/2d-array-max-and-replace-factors-with-max-java.zip -------------------------------------------------------------------------------- /2d-sum-of-rows-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/2d-sum-of-rows-java.zip -------------------------------------------------------------------------------- /2nd-max-and-prime-or-not-java2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/2nd-max-and-prime-or-not-java2.zip -------------------------------------------------------------------------------- /Java/2d-array-max-and-replace-factors-with-max-java.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class Main 3 | { 4 | public static void main(String[] args) { 5 | Scanner s = new Scanner(System.in); 6 | int n=s.nextInt(); 7 | int m=s.nextInt(); 8 | int max=0; 9 | int a[][]=new int[n][m]; 10 | int b[]=new int[n]; 11 | for(int i=0;imax){ 25 | max=a[i][j]; 26 | } 27 | } 28 | } 29 | System.out.println(max); 30 | for(int i=0;i=0) 18 | { 19 | i--; 20 | } 21 | b=a[i-2]; 22 | } 23 | int c=0; 24 | for(int j=2;j continue voting!!! \n0 --> Exit!!!"); 18 | System.out.println("---------------------------------"); 19 | int v = s.nextInt(); 20 | lb1: 21 | while(v!=0){ 22 | n++; 23 | System.out.println("---------------------------------"); 24 | System.out.print("Enter your Name:"); 25 | String name=s.next(); 26 | System.out.println("---------------------------------"); 27 | for(int j=0;jcandidate2Votes && candidate1Votes>candidate3Votes){ 68 | System.out.println("Winner is Candidate1"); 69 | } 70 | else if(candidate2Votes>candidate1Votes && candidate2Votes>candidate3Votes){ 71 | System.out.println("Winner is Candidate2"); 72 | } 73 | else if(candidate3Votes>candidate1Votes && candidate3Votes>candidate2Votes){ 74 | System.out.println("Winner is Candidate3"); 75 | } 76 | else if(candidate1Votes==candidate2Votes && candidate1Votes!=candidate3Votes && candidate3Votes!=candidate2Votes){ 77 | System.out.println("Candidate1 and Candidate2 has been tied up!"); 78 | } 79 | else if(candidate1Votes==candidate3Votes && candidate1Votes!=candidate2Votes && candidate3Votes!=candidate2Votes){ 80 | System.out.println("Candidate1 and Candidate3 has been tied up!"); 81 | } 82 | else if(candidate3Votes==candidate2Votes && candidate1Votes!=candidate3Votes && candidate2Votes!=candidate1Votes){ 83 | System.out.println("Candidate3 and Candidate2 has been tied up!"); 84 | } 85 | else{ 86 | System.out.println("All 3 Caandidates has been tied up!"); 87 | } 88 | System.out.println("********************************************"); 89 | } 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /Java/array-0-s-at-last-with-duplicate-arr.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class Main 3 | { 4 | public static void main(String[] args) { 5 | Scanner s = new Scanner(System.in); 6 | int n = s.nextInt(); 7 | int m=0; 8 | int b[] = new int[n]; 9 | int a[] = new int[n]; 10 | for(int i=0;i=1;i--) 17 | { 18 | for(int j=i;j=1;i--) 17 | { 18 | for(int j=i;j re && r > max) { 12 | max = r; 13 | } 14 | re = r; 15 | n = n / 10; 16 | } 17 | System.out.print(max); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Java/method-overriding.java: -------------------------------------------------------------------------------- 1 | class pradeep 2 | { 3 | void nikithaa() 4 | { 5 | System.out.println("lovers"); 6 | } 7 | } 8 | class mamakuttyy 9 | { 10 | void nikithaa() 11 | { 12 | System.out.println("Ex lover"); 13 | } 14 | } 15 | class Revii 16 | { 17 | void nikithaa() 18 | { 19 | System.out.println("Besti"); 20 | } 21 | } 22 | public class Main 23 | { 24 | public static void main(String[] args) { 25 | System.out.println("love today"); 26 | pradeep a=new pradeep(); 27 | mamakuttyy b=new mamakuttyy(); 28 | Revii c=new Revii(); 29 | a.nikithaa(); 30 | b.nikithaa(); 31 | c.nikithaa(); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /Java/print-union-without-duplicate-ele.java: -------------------------------------------------------------------------------- 1 | import java.util.*; 2 | public class Main{ 3 | public static void main(String []args){ 4 | Scanner s=new Scanner(System.in); 5 | int n=s.nextInt(); 6 | int m=s.nextInt(); 7 | int a[]=new int[n]; 8 | int b[]=new int[m]; 9 | int c[]=new int[n+m]; 10 | int count=0; 11 | for(int i=0;i=1900 && y<=9999) 12 | { 13 | if((d>=1 && d<=31)&&(m==1||m==3||m==5||m==7||m==8||m==10||m==12)) 14 | System.out.print("valid"); 15 | else if((d>=1&&d<=30)&&(m==4||m==6||m==9||m==11)) 16 | System.out.print("valid"); 17 | else if((d>=1&&d<=28)&&(m==2)) 18 | System.out.print("valid"); 19 | else if((d==29)&&(m==2)&&((y%4==0&&y%100!=0)||(y%400==0))) 20 | System.out.print("valid"); 21 | else 22 | System.out.print("Invalid"); 23 | } 24 | else 25 | System.out.println("Invalid"); 26 | } 27 | 28 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Java-Learning- 2 | It includes Data Structure in Java and Simple Java programs which helps in Development for Full Stack Development 3 | -------------------------------------------------------------------------------- /array-0-s-at-last-with-duplicate-arr-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/array-0-s-at-last-with-duplicate-arr-java.zip -------------------------------------------------------------------------------- /array-0-s-at-last-without-duplicate-arr-java2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/array-0-s-at-last-without-duplicate-arr-java2.zip -------------------------------------------------------------------------------- /char-multiplier.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/char-multiplier.zip -------------------------------------------------------------------------------- /dimond-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/dimond-java.zip -------------------------------------------------------------------------------- /function-java-string.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/function-java-string.zip -------------------------------------------------------------------------------- /hierarchical-inheritance-venki.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/hierarchical-inheritance-venki.zip -------------------------------------------------------------------------------- /hierarchical-inheritance.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/hierarchical-inheritance.zip -------------------------------------------------------------------------------- /hollow-diamond-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/hollow-diamond-java.zip -------------------------------------------------------------------------------- /jagged-array-java1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/jagged-array-java1.zip -------------------------------------------------------------------------------- /java-conversion.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/java-conversion.zip -------------------------------------------------------------------------------- /java-project.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/java-project.zip -------------------------------------------------------------------------------- /java1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/java1.zip -------------------------------------------------------------------------------- /main-method-overloading.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/main-method-overloading.zip -------------------------------------------------------------------------------- /math-methods-in-java (1).zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/math-methods-in-java (1).zip -------------------------------------------------------------------------------- /max-of-digit-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/max-of-digit-java.zip -------------------------------------------------------------------------------- /method-overriding.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/method-overriding.zip -------------------------------------------------------------------------------- /print-union-without-duplicate-ele-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/print-union-without-duplicate-ele-java.zip -------------------------------------------------------------------------------- /single-inheritance.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/single-inheritance.zip -------------------------------------------------------------------------------- /string-buffer-methods-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/string-buffer-methods-java.zip -------------------------------------------------------------------------------- /sum-diagonal-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/sum-diagonal-java.zip -------------------------------------------------------------------------------- /super-keyword-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/super-keyword-java.zip -------------------------------------------------------------------------------- /transfer-adjacent-ele-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/transfer-adjacent-ele-java.zip -------------------------------------------------------------------------------- /user-defined-jagged-array-java.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/user-defined-jagged-array-java.zip -------------------------------------------------------------------------------- /valid-date-format.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/HemanthManuvel/Java-Learning-/d67cc4ea2684d822bbbdb7239b23d0022384428c/valid-date-format.zip --------------------------------------------------------------------------------