File tree Expand file tree Collapse file tree
src/main/java/com/ibrahimatay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ This repository contains Java examples that are designed to track and document t
1010
1111## Specifications & Practices
1212
13+ * [ Java 26] ( java-26/ ) (March, 2026)
14+
1315* [ Java 25] ( java-25/ ) (September, 2025)
1416 * [ JEP 513] ( java-25/src/main/java/JEP513FlexibleConstructorBodies.java ) : Flexible Constructor Bodies
1517 * [ JEP 512] ( java-25/src/main/java/JEP512CompactSourceFilesAndInstanceMainMethods.java ) : Compact Source Files and Instance Main Methods
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
3+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
5+ <modelVersion >4.0.0</modelVersion >
6+ <parent >
7+ <groupId >com.ibrahimatay</groupId >
8+ <artifactId >Java-Features</artifactId >
9+ <version >1.0-SNAPSHOT</version >
10+ </parent >
11+
12+ <artifactId >java-26</artifactId >
13+
14+ <properties >
15+ <maven .compiler.source>26</maven .compiler.source>
16+ <maven .compiler.target>26</maven .compiler.target>
17+ <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
18+ </properties >
19+
20+ </project >
Original file line number Diff line number Diff line change 1+ package com .ibrahimatay ;
2+
3+ //TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
4+ // click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
5+ public class Main {
6+ public static void main (String [] args ) {
7+ //TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
8+ // to see how IntelliJ IDEA suggests fixing it.
9+ System .out .printf ("Hello and welcome!" );
10+
11+ for (int i = 1 ; i <= 5 ; i ++) {
12+ //TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
13+ // for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
14+ System .out .println ("i = " + i );
15+ }
16+ }
17+ }
Original file line number Diff line number Diff line change 2222 <module >java-14</module >
2323 <module >java-24</module >
2424 <module >java-25</module >
25+ <module >java-26</module >
2526 </modules >
2627
2728 <properties >
You can’t perform that action at this time.
0 commit comments