Posts by Douglas de Moura • 1 point
1 post
-
-1
votes1
answer26
viewsA: Build error: "Resource Leak" when using Scanner
Read the code comments below: package dev.douglasmoura.utfpr; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner leia = new Scanner(System.in); double…