Exercise Questions 11.27
25. Set is defined in java.util.Set. Set cannot contain duplicate elements.
26. Iterator allows us to iterate over a collection such as Set.
27. List can contain duplicate elements. It supports
ArrayList and LinkedList.
Exercise Questions
Objective Questions
1. Networking classes are included in
(a)
java.IO.*; (b) java.net.*; (c) java.util.*; (d) java.lang.* ;
2. URL stands for
(a) Universal resource locator (b) Unified resource locator
(c) Uniform resource locator (d) Unique resource locator
3. Which of the following classes contain IPaddress?
(a) Inet class (b) URL class (c) URL connection class (d) Socket class
4. Which of the following statements are true in respect of TCP/IP?
(i) Connection oriented means ...