GithubHelp home page GithubHelp logo

java's Introduction

CORE JAVA

Git hub repo dedicated for hands on java practise

Things to note about this repo

  • Need to know what is a programming language.
  • Expected level is very basic, like what is variable and datatype.
  • Problems encourages you to directly write functions and then classes directly.
  • Most of the problems are designed in the way of language agnostic, So you use these problems for most of the OOPS language eg. Java,C#,Python etc.
  • Plan is to parallelly familiarise developers most essential development tool Git. So you need to spend some time to learn about Git.

Workflow for using Git

  • You find the problems in the main branch. so dont push the changes directly to main branch. But update your local main branch with frequent pull and push your feature branch changes to Remote ask for a PR to verify the code and merge the code in main.
  • Steps: Pull the main(remote) => create a feature branch from main => Commit the changes in feature branch => Push your feature branch to remote => Raise Pull Request(PR) against main(remote) branch => Verify & Merge to main(remote) branch => Pull the updated code from main(remote).
  • Beware of merge conflicts.

Useful Git commands

  • git status - check the current status of branch
  • git pull - Pull remote git code from remote to update the local with current version of remote.
  • git checkout [branch_name] - Switching between branches.
  • git checkout -b [branch_name] - Create a new branch and switch to the currently created branch.
  • git add . (or) [filename] - add your changes to staging, it is a staging environment before commiting changes.And git add . "." represents all changes in the git repo. Confirm with git status after git add.
  • git commit -m "[Meaningful commit message]" - Commit or save your changes in your git repo.
  • git push - push the committed chages to remote.
  • git reset - to undo git add

How to push your changes to remote

  • check your current branch, use => git status
  • if you want to switch to other branch, use => git checkout [branch_name] or create a new branch and switch use => git checkout -b [branch_name]
  • After the changes add your changes, use => git add . (or) [filename]
  • Commit your changes, use => git commit -m "[Meaningful commit message]"
  • Push the committed changes to remote => git push

Project structure:

  • Excercise
    • Excercise#
      • Readme.md (contains problem definition)
      • solution.java (contains solution for the problem)

java's People

Contributors

pragashdaniel avatar

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.