Coder Social home page Coder Social logo

shubh2-0 / basic-java Goto Github PK

View Code? Open in Web Editor NEW
13.0 1.0 1.0 79 KB

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. πŸš€πŸ“š

Java 100.00%
class datatype java array boolean character float integer java-classes object

basic-java's Introduction

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! πŸ˜„πŸ’»

basic-java's People

Contributors

shubh2-0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

23csbparthibans

basic-java's Issues

Naming Convention

  • naming convention for variable
  • naming convention for methods
  • naming convention for interfaces
  • naming convention for classes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.