Skip to content

The Basic Java repository is a beginner's guide to Java programming. It includes examples and programs covering object-oriented programming, arrays, methods, and more. Whether you're new to Java or looking to strengthen your skills, this repository is the perfect resource to learn and practice Java programming concepts. πŸš€πŸ“š

Notifications You must be signed in to change notification settings

Shubh2-0/Basic-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

40 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

linkedin  mail-me  whatsapp-me 


πŸ’“ Thank you for your interest in contributing to this repository! Let's code and create something amazing together! πŸ˜„πŸ’»

About

The Basic Java repository is a beginner's guide to Java programming. It includes examples and programs covering object-oriented programming, arrays, methods, and more. Whether you're new to Java or looking to strengthen your skills, this repository is the perfect resource to learn and practice Java programming concepts. πŸš€πŸ“š

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages