Skip to content

Latest commit

 

History

History
92 lines (59 loc) · 5.09 KB

README.md

File metadata and controls

92 lines (59 loc) · 5.09 KB

Basic Java 📚🚀

This repository contains basic Java programs and examples covering various concepts of object-oriented programming and fundamental Java topics. It serves as a beginner's guide to Java programming. 📖🎨

Java has two categories in which data types are segregated

Primitive Data Type: such as boolean, char, int, short, byte, long, float, and double
Non-Primitive Data Type or Object Data type: such as String, Array, etc.

Types Of Primitive Data Types

Primitive data are only single values and have no special capabilities. There are 8 primitive data types. They are depicted below in tabular format below as follows:

Non-Primitive Data Type or Reference Data Types

The Reference Data Types will contain a memory address of variable values because the reference types won’t store the variable value directly in memory. They are strings, objects, arrays, etc.

List of Files 📑🪄

  • ArrayList.java 📑: Demonstrates the usage of the ArrayList class in Java.
  • Arrays.java 📑: Contains examples related to arrays in Java.
  • ArraysProblems.java 📑: Solves problems related to arrays using Java.
  • CGPA.java 📑: Calculates and displays the CGPA (Cumulative Grade Point Average) based on the given inputs.
  • Changing_The_Elements_In_Array.java 📑: Modifies the elements of an array based on certain conditions.
  • DetectInteger.java 📑: Detects whether a given input is an integer or not.
  • Github.java 📑: Interacts with the GitHub API using Java to perform various operations.
  • Greet.java 📑: Displays a greeting message on the console.
  • If_Else_Switch.java 📑: Demonstrates the usage of if-else and switch statements in Java.
  • InputTaking.java 📑: Takes user input and displays it on the console.
  • JavaRecursion.java 📑: Illustrates recursion in Java with example programs.
  • Km_To_M.java 📑: Converts distance in kilometers to meters.
  • MultiDimensional_Array.java 📑: Deals with multi-dimensional arrays in Java.
  • MainTwo.java 📑: Contains the main method and serves as the entry point for the program.
  • MarkSheet.java 📑: Calculates the marks and grade of a student based on the given inputs.
  • MethodOverloading.java 📑: Demonstrates method overloading in Java.
  • NonStaticMethod.java 📑: Illustrates the usage of non-static methods in Java.
  • Practiceset.java 📑: Provides a set of practice problems to enhance Java programming skills.
  • Recursion_And_Methods_Problem.java 📑: Solves recursion and method-related problems using Java.
  • StaticMethod.java 📑: Illustrates the usage of static methods in Java.
  • String_Methods.java 📑: Demonstrates various string methods in Java.
  • String_Problem.java 📑: Solves string-related problems using Java.
  • VariableArguments.java 📑: Explains the usage of variable arguments in Java methods.
  • arrays_problems.class 📑: Compiled version of arrays_problems.java file.
  • changing.class 📑: Compiled version of changing.java file.
  • loops.java 📑: Contains examples related to loops in Java.
  • loopsImpl.java 📑: Implements different types of loops in Java.
  • methods.java 📑: Contains examples of different types of methods in Java.

Contributing 👍🏻🔦

Contributions are welcome! If you find any issues or want to enhance the repository, feel free to submit a pull request or raise an issue. Your contributions, whether it's fixing a bug, adding new features, or improving documentation, are greatly appreciated! 🙌🏻💎

To contribute to this repository, follow these steps:

  1. Fork the repository. 🍴
  2. Create a new branch for your feature or bug fix. 🌱
  3. Make your changes and ensure they are properly tested. 🧪
  4. Commit your changes and push them to your forked repository. 🔃
  5. Submit a pull request with a detailed description of your changes. 📤

📬 Contact

If you want to contact me, you can reach me through below handles.

linkedinmail-me whatsapp-me


💓 Thank you for your interest in contributing to this repository! Let's code and create something amazing together! 😄💻