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

Authors

  • Jerzy Krawiec Politechnika Warszawska, Wydział Inżynierii Produkcji, Instytut Organizacji Systemów Produkcyjnych, Polska

DOI:

https://doi.org/10.15584/eti.2017.1.40

Keywords:

programming, Java, stream, code efficiency, resource management

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 significant-ly shorten the runtime of the Java program.

Published

2017-03-30

How to Cite

Krawiec, J. (2017). Practical Aspects of Java Programming – Program Efficiency Related to Automatic Resource Management. Journal of Education, Technology and Computer Science, 19(1), 288–296. https://doi.org/10.15584/eti.2017.1.40

Issue

Section

THE PROBLEMS OF INFORMATION AND COMMUNITY EDUCATION