Arushi has Published 157 Articles

Differences between HashMap and Hashtable in Java

Arushi

Arushi

Updated on 18-Jun-2020 07:12:18

1K+ Views

Hashtable was part of the original java.util and is a concrete implementation of a Dictionary. However, Java 2 re-engineered Hashtable so that it also implements the Map interface. Thus, Hashtable is now integrated into the collections framework. It is similar to HashMap, but is synchronized.Like HashMap, Hashtable stores key/value pairs ... Read More

Examples of Existing Networks

Arushi

Arushi

Updated on 17-Jun-2020 13:27:40

317 Views

Some of the prominently used networks in today’s world are −InternetIEEE 802.11 for Wireless LANRFID and Sensor NetworksInternetInternet is a global collection of vast number of dissimilar networks that are interconnected together. Internet uses the TCP/IP protocol and provides varied services. The networks forming the Internet may be private, public, ... Read More

The Host-to-Network Layer in TCP/IP Model

Arushi

Arushi

Updated on 17-Jun-2020 12:37:53

4K+ Views

The host-to-network layer is the lowest layer of the TCP/IP model and is concerned with the physical transmission of data. It is also called a network interface layer or link layer. It can be considered as the combination of physical layer and data link layer of the OSI model.The functions ... Read More

Connectionless Services

Arushi

Arushi

Updated on 17-Jun-2020 12:24:16

4K+ Views

A Connectionless service is a data communication between two nodes where the sender sends data without ensuring whether the receiver is available to receive the data. Here, each data packet has the destination address and is routed independently irrespective of the other packets. Thus the data packets may follow different ... Read More

The Physical Layer of OSI Model

Arushi

Arushi

Updated on 17-Jun-2020 12:21:49

2K+ Views

The physical layer (Layer 1) deals with transmission of individual bits from one node to another over a physical medium.The main functions of the physical layer are as follows −It defines the physical characteristics and functions of the physical devices and interfaces so that transmission can occur. It states the ... Read More

Home Networks

Arushi

Arushi

Updated on 17-Jun-2020 11:59:01

1K+ Views

A home network is a small sized LAN that is used to connected devices within the small area of a home. It facilitates sharing of files, peripheral devices, programs and Internet access among the computers in a home. Home networks may be wired, i.e. connections within devices are done with ... Read More

Linear Search

Arushi

Arushi

Updated on 15-Jun-2020 14:54:10

3K+ Views

Linear searching techniques are the simplest technique. In this technique, the items are searched one by one. This procedure is also applicable for unsorted data set. Linear search is also known as sequential search. It is named as linear because its time complexity is of the order of n O(n).The ... Read More

Jump Search

Arushi

Arushi

Updated on 15-Jun-2020 14:00:54

5K+ Views

Jump search technique also works for ordered lists. It creates a block and tries to find the element in that block. If the item is not in the block, it shifts the entire block. The block size is based on the size of the list. If the size of the ... Read More

What will happen when { } is converted to String in JavaScript?

Arushi

Arushi

Updated on 23-May-2020 10:16:37

68 Views

Use the String() method in JavaScript to convert to String. You can try to run the following code to learn how to convert { } to String in JavaScript.ExampleLive Demo           Convert {} to String                var myVal = {};          document.write("String: " + String(myVal));          

How to work with document.images in JavaScript?

Arushi

Arushi

Updated on 20-May-2020 11:00:53

309 Views

Use the document.images property in JavaScript to get the number of tags in a document.ExampleYou can try to run the following code to implement document.images property in JavaScript.Live Demo           JavaScript Example               TutorialsPoint Tutorials                            var num = document.images.length;          document.write("How many images? "+num);          

Previous 1 ... 3 4 5 6 7 ... 16 Next
Advertisements