You are here |
www.aligelenler.com | ||
| | | |
componenthouse.com
|
|
| | | | I wanted tocompare how Java, C++ and C perform whenreading a text file line by line and printing the output. I've implemented some possibilities and, at the end, we can compare the speed of each execution. Java 7 version (BufferedReader) import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class Main7 { private static final... | |
| | | |
connorberry.com
|
|
| | | | Language Comparison Perl: while (<>) { print "$. : $_" } Perl: while (<>) { print "$. : $_" } CSharp: using System; using System.IO; class App { public static void Main(string[] args) { int line_number = 1; foreach (string arg in args) { foreach (string line in File.ReadLines(arg)) { Console.WriteLine(line_number + ":" + line);... | |
| | | |
inside.java
|
|
| | | | The Simple Web Server was added to the `jdk.httpserver` module in JDK 18. It is a minimal HTTP static file server, designed to be used for prototyping, testing, and debugging. This article explores some less obvious yet interesting programmatic appl... | |
| | | |
netopyr.com
|
|
| | The last two articles were about how to pass and deal with primitive datatypes, Java objects, and JavaFX objects. This article focuses on JavaFX sequences. |