What do you want to save?
Add Code snippet
New code examples
-
Java 2022-03-24 11:35:11
trier par ordre alphabétique java
import java.util.ArrayList; import java.util.Collections; import java.util.List; public class StringSorter { public static void main(String[] args) { List namesList = new ArrayList(); namesList.add("Top language"); namesList.add("H... Add solution -
Java 2022-02-24 09:50:04
java comparing-two-csv-files-in-java
import java.io.*; import java.util.ArrayList; /* file1 - file2 = file3*/ public class CompareCSV { public static void main(String args[]) throws FileNotFoundException, IOException { String path="D:\\csv\\"; String file1="file1.csv&... Add solution -
Java 2022-02-02 18:36:57
arrayList sans doubles
import java.util.ArrayList; import java.util.Set; import java.util.List; import java.util.HashSet; public class Doublon { public static void main(String[] argv) { // Créer un objet ArrayList List<String> array... Add solution -
Javascript 2022-01-27 01:16:08
swap nodes algo hackerrank solution
import java.io.*; import java.math.*; import java.text.*; import java.util.*; import java.util.regex.*; public class Solution { /* * Complete the swapNodes function below. */ static class Node { int index; int depth; ... Add solution -
C# 2021-11-21 08:16:25
Remover usuário de Grupo AD c#
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Data;using System.Collections;using System.DirectoryServices;using System.IO; namespace ADUsersFromGroup{ class Program { static ArrayList _userNa... Add solution -
Java 2021-11-19 23:00:23
how to get a user to add to an arraylist in java
public class chores { public static void main(String[] args) { Boolean close = false; ArrayList<String> name = new ArrayList(); ArrayList<String> chores = new ArrayList(); Scanner scanner = new Scanner(System.in); Syste... Add solution -
-
Java 2021-11-08 20:33:21
stream java example
the Stream API is used to process collections of objects. A stream is a sequence of objects that supports various methods which can be pipelined to produce the desired result. It is very similar to build().perform() method in Actions class. It is cha... Add solution