Posts by Eduardo Dornellas • 9 points
2 posts
-
0
votes6
answers623
viewsA: What is the reason for the application of the concept LIFO (Last In, First Out)?
Regarding the subject Data Structures, we have 2 Stacks and Queues, each with its behavior and purpose. In the Queue, we have the FIFO (First Input, First Output) behavior, where the First Element…
computer-scienceanswered Eduardo Dornellas 9 -
0
votes2
answers102
viewsA: Format a double of a variable with two houses
import java.text.Decimalformat; public class Format { public static void main(String[] args) { double integerDouble1 = (2.345); Double integerDouble2 = new Double(2.345); System.out.println("#…