Skip to content

Latest commit

 

History

History
216 lines (162 loc) · 6.07 KB

README.md

File metadata and controls

216 lines (162 loc) · 6.07 KB

Daily Java Codes Repository

Hi!👋 I'm Kunal Bandale. This repository contains my daily Java codes.

Overview

This repository contains a collection of Java codes that I write daily to improve my programming skills. Each code has been reviewed and guided by the Head of the Department (HOD) to ensure that it meets the highest standards of quality and adheres to industry best practices.

The codes are organized by day and can be found in the corresponding directory.

Directory Structure

The directory structure is organized as follows:

  • daily-java-codes
    • day-01

      • HelloWorld.java
    • day-02

      • ArithmeticOperators.java
      • TakingInput.java
      • CheckVotingEligibility.java
      • DataTypes.java
      • GradeCal.java
    • day-03

      • SwtichCase.java
    • day-04

      • LoopInJava.java
      • WhilleLoop.java
      • doWhile.java
    • day-05

      • ArraysInJava.java
      • TwoDArray.java
      • UserDefinedMethods.java
      • ExcepHandle.java
    • day-06

      • ClassObj.java
      • MoreOnFunctions.java
      • .java
      • .java
    • day-07

      • Write a program that takes a number N as the input, and prints it to the output.
      • OddEvenProgram.java
      • OddEvenRange.java
      • Table.java
      • printTableFrom1to10.java
      • LargestNumberinThreeNumbers.java
      • GreatestNumber.java
      • Banking.java
    • day-08

      • CheckReverseStringIsPalimdrone.java
      • ReverseChar.java
      • ReverseNumber.java
      • SumOfDigits.java
      • Factorial.java
    • day-09

      • UnaryOperators.java
      • ArthimeticOperator.java
      • ShiftOperator.java
      • TernaryOperator.java
      • AssigmentOperator.java
      • LogicalOperators.java
    • day-10

      • ASCII.java
      • StarInputProgram.java
      • StarPrint.java
      • FibUsingRecursion.java
      • fibonacciSeries.java
    • day-11

      • ArrayForEach.java
      • ArrayInput.java
      • ArrayForEach.java
      • ArrayString.java
      • ArrayFunctionJava.java
      • Array2D.java
      • Given an integer, , perform the following conditional actions: If is odd, print Weird If is even and in the inclusive range of to , print Not Weird If is even and in the inclusive range of to , print Weird If is even and greater than , print Not Weird
      • Chef wants to appear in a competitive exam. To take the exam, there are following requirements: Minimum age limit is X (i.e. Age should be greater than or equal to X). Age should be strictly less than Y. Chef's current Age is A. Find whether he is currently eligible to take the exam or not.
    • day-12

      • ColNotFixed.java
      • ArrayListInJava.java
      • InputArrayList.java
      • MultiDimensionalArrayList.java
      • .java
    • day-13

      • Write a code that prints all the elements & their respective index numbers of the given array in separate lines
    • day-14

      • Somu went to the gym today. He decided to do X sets of squats. Each set consists of 15 squats. Determine the total number of squats that he did today.
    • day-15

      • In Chefland, everyone who earns strictly more than Y rupees per year, has to pay a tax to Chef. Chef has allowed a special scheme where you can invest any amount of money and claim exemption for it.You have earned X (X>Y) rupees this year. Find the minimum amount of money you have to invest so that you don't have to pay taxes this year.
      • Recently, Chef visited his doctor. The doctor advised Chef to drink at least 2000 ml of water each day.Chef drank X ml of water today. Determine if Chef followed the doctor's advice or not.
      • Biryani.java
    • day-16

      • FIT.java
      • LUDO.java
    • day-17

      • Rectangle.java
      • Std.java
      • Details.java
    • day-18

      • PerimeterTri.java
      • staticExample.java
      • InnerClasses.java
    • day-19

      • SNDMAX.java
    • day-20

      • BULLBEAR.java
      • CHAIRS_.java
      • DNATION.java
      • CREDS.java
      • CRICMATCH.java
      • CCLEARN.java
    • day-21

      • FunctionOddEven.java
      • CABS.java
    • day-22

      • HEIGHTRATION.java
    • day-23

      • TypeCasting.java
    • day-24

      • FuncOver.java
      • RecSqOrNot.java
      • ExamAllowedOrNot
    • day-25

      • arrayOfObjects.java
      • foreachLoop.java
      • JaggedArray.java
      • ArrayCreation.java
    • day-26

      • StringBufferJava.java
      • StaticInJava.java
      • StaticBlock.java
      • Encaplustaion.java
      • Std.java
      • arrayOfObjects
      • UseOfThisKeyword
    • day-27

      • AnonomyosObject.java
      • DynamicDispatchMethodDemo.java
    • day-28

      • casting.java
      • UpCasting.java
      • DownCasting.java
    • day-29

      • EnumInJava.java
      • EnumIf.java
      • EnumSwtich.java
    • day-30

      • .java

How to Run the Code

To run the Java code in this repository, you need to have the Java Development Kit (JDK) installed on your computer. You can download the latest version of the JDK from the Oracle website.

Once you have installed the JDK, you can compile and run the Java code using the following commands:

javac HelloWorld.java
java HelloWorld

Replace HelloWorld.java with the name of the Java file you want to compile and run.

Contributions

Contributions to this repository are welcome. If you find any issues with the code or have suggestions for improvement, feel free to create a pull request or open an issue.

License

This repository is licensed under the MIT License.