Practical Aspects of Java Programming –Program Efficiency Related to Automatic Resource Management Cover Image

Praktyczne aspekty programowania w Javie – wydajność programu w zakresie automatycznego zarządzania zasobami
Practical Aspects of Java Programming –Program Efficiency Related to Automatic Resource Management

Author(s): Jerzy Krawiec
Subject(s): Education, ICT Information and Communications Technologies
Published by: Wydawnictwo Oświatowe FOSZE
Keywords: programming; Java; stream; code efficiency; resource management;

Summary/Abstract: The article discusses some aspects of the efficiency of programming in Java. Performance testing of Java code related to automatic resource management were conducted. The measurements of the runtime of the program for operation in the field of streaming read and write the file using the try and a try-with-resources. The research has shown that a properly written program code has a large impact on the efficiency of a Java program. The proper design of Java code can significantly shorten the runtime of the Java program.

  • Issue Year: VIII/2017
  • Issue No: 1
  • Page Range: 288-296
  • Page Count: 9
  • Language: Polish