Day - 05 | Tokens in Java | Free Java Course |

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 4

  • @uwayojacques317
    @uwayojacques317 3 дня назад +1

    Thank you Bhushan great course really appreciated how are you giving free knowledge to the world

  • @srikanthbathula6714
    @srikanthbathula6714 3 дня назад +1

    Thank you Bhushan for providing the course

  • @uwayojacques317
    @uwayojacques317 3 дня назад +2

    we also have Documentation comments:
    Syntax: /** ... */
    These comments start with /** and end with */. They are specifically used for generating documentation using tools like Javadoc. Documentation comments can include special tags (e.g., @param, @return) to describe the code's behavior, parameters, and return values.
    /**
    * This method adds two integers.
    *
    * @param a the first integer
    * @param b the second integer
    * @return the sum of a and b
    */
    public int add(int a, int b) {
    return a + b;
    }

    • @B2Tech
      @B2Tech  3 дня назад

      Thanks for highlighting this and thanks for the detail explanation.
      I wanted to cover these once i start the OOPs concepts.
      These are called Java docs. These are bit different from comments.
      But yes for the people who are seeing these kind of comments they may get confuse.