logo

Crowdly

Browser

Add to Chrome

Questions Bank (1382199 total)

Mis ilmub ekraanile?

import java.util.LinkedHashMap;

import java.util.Map;

public class TestLinkedHashMap {

public static void main(String[] args) {

Map<String, Integer> kujutus = new LinkedHashMap<>();

kujutus.put("B", 2);

kujutus.put("A", 1);

kujutus.put("C", 3);

System.out.println(kujutus.values());

}

}
0%
0%
0%
0%
0%
0%
View this question

Mis ilmub ekraanile?

import java.util.*;

public class MinuComparator implements Comparator<String> {

public int compare(String a, String b) {

return b.compareTo(a);

}

}

import java.util.Set;

import java.util.TreeSet;

public class CompDemo {

public static void main(String args[]) {

Set<String> ts = new TreeSet<>(new MinuComparator());

ts.add("C");

ts.add("A");

ts.add("E");

ts.add("D");

for (String o : ts)

System.out.print(o + " ");

}

}
View this question

Milline väide on tõene?

0%
0%
0%
0%
View this question

Kuidas eemaldada korduvad elemendid listist meielist?

0%
0%
0%
View this question

Mis on erinevus TreeSet ja SortedSet vahel?

0%
0%
View this question

Єдиний податок належить до:

0%
0%
0%
0%
View this question

Mis ilmub ekraanile?

import java.util.Set;

import java.util.TreeSet;

public class TestTreeSet {

public static void main(String[] args) {

Set<String> hulk = new TreeSet<>();

hulk.add("2");

hulk.add("9");

hulk.add("5");

hulk.add("22");

hulk.add("1");

hulk.add("15");

System.out.println(hulk);

}

}
0%
0%
0%
0%
0%
0%
View this question

¿Cuál es la MAC que corresponde al host con IP 8.8.8.8?

What is the MAC that corresponds to the host with IP 8.8.8.8?
0%
0%
0%
0%
View this question

¿Cuál es el valor numérico, en decimal, del campo "Identifier" de la cabecera ICMP en el datagrama enviado?

What is the numeric value, in decimal, of the "Identifier" field of the ICMP header in the sent datagram?
0%
0%
0%
100%
View this question

¿Qué descripción de las siguientes se ajusta más a la trama capturada?

Which of the following descriptions most closely matches the captured frame?
0%
100%
0%
0%
View this question