Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1658c17

Browse filesBrowse files
committed
JEP 467: Markdown Documentation Comments
1 parent 72983ea commit 1658c17
Copy full SHA for 1658c17

File tree

Expand file treeCollapse file tree

2 files changed

+27
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+27
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1Lines 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
+26Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.