Content deleted Content added
cleanup, typo(s) fixed: For example → For example, |
JnRouvignac (talk | contribs) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
Line 140:
=== Java ===
{{Main article|Java (programming language)}}
{{as of|2022}}, Java does not have interpolated strings, and instead uses format functions, notably the <code>MessageFormat</code> class (Java version 1.1 and above) and the static method <code>String.format</code> (Java version 5 and above). [https://openjdk.org/jeps/430| There is a proposal] to add string interpolation to the Java language. This proposal aims at doing safe string interpolation, making it easier to prevent injection attacks.
=== JavaScript ===
|