Java 11 Tutorial
Java Other Versions Tutorials
Java 11 Useful Resources
Selected Reading
- Java 11 - Removed/Deprecated API
- Java 11 - Nest Based Access
- Java 11 - var in lambda
- Java 11 - Not Predicate
- Java 11 - Optional Class
- Java 11 - File APIs
- Java 11 - Collections to Array
- Java 11 - String APIs
- Java 11 - Compile free Launch
- Java 11 - Standard HttpClient
- Java 11 - Environment Setup
- Java 11 - Overview
- Java 11 - Home
Java Other Versions Tutorials
- Java 16 Tutorial
- Java 15 Tutorial
- Java 14 Tutorial
- Java 13 Tutorial
- Java 12 Tutorial
- Java 10 Tutorial
- Java 9 Tutorial
- Java 8 Tutorial
- Java Tutorial
Java 11 Useful Resources
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
Java 11 - Compile free Launch
Java 11 - Compile free Launch
Java 11 onwards, now a single java file can be tested easily without compipng as well. Consider the following example −
ApiTester.java
pubpc class Tester { pubpc static void main(String[] args) { System.out.println("Hello World!"); } }
Old way of running file
$ javac ApiTester.java $ java Tester Hello World!
New way of running file
$ java ApiTester.java Hello World!
This new feature will help developer to quick test a functionapty without need to compile before running a code.
Advertisements