Skip to content

Commit 1658c17

Browse files
committed
JEP 467: Markdown Documentation Comments
1 parent 72983ea commit 1658c17

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ This repository contains Java examples that are designed to track and document t
1111

1212
* [Java 23](java-23/) (September, 2024)
1313
* [JEP 477](java-23/src/main/java/com/ibrahimatay/JEP477ImplicitlyDeclaredClassesAndInstanceMainMethods.java): Implicitly Declared Classes and Instance Main Methods
14+
* [JEP 467](java-23/src/main/java/com/ibrahimatay/JEP467MarkdownDocumentationComments.java): Markdown Documentation Comments
1415

1516
* [Java 22](java-22/) (March, 2024)
1617
* [JEP 458](java-22/src/main/java/com/ibrahimatay/JEP458LaunchMultiFileSourceCode.java): Launch Multi-File Source-Code Programs
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.ibrahimatay;
2+
3+
/**
4+
* # JEP467MarkdownDocumentationComments Class
5+
*
6+
* This class provides basic arithmetic operations.
7+
*
8+
* ## Methods
9+
*
10+
* - `add(int a, int b)`: Returns the sum of two integers
11+
* - `subtract(int a, int b)`: Returns the difference between two integers
12+
*
13+
* ## Example Usage
14+
*
15+
* java
16+
* Calculator calc = new Calculator();
17+
* int sum = calc.add(5, 3); // Returns 8
18+
*
19+
*
20+
* @author İbrahim ATAY
21+
* @version 1.0
22+
*/
23+
public class JEP467MarkdownDocumentationComments {
24+
// JEP 467: Markdown Documentation Comments
25+
// https://openjdk.org/jeps/467
26+
}

0 commit comments

Comments
 (0)