devxlogo

July 31, 2018

Understanding the Double Colon in Java

Iterating a list and printing the values is very simple, as illustrated by the code snippet below. import java.util.*;public class DoubleColon{ public static void main(String args[]) { DoubleColon doubleColon =