Ring Main Unit (RMU) is a switchgear device used in secondary distribution systems, i.e., between the distribution substation and the end consumer to ensure continuous power supply and isolate the faulty section from the network. The main purpose of using a ring main unit is to provide an uninterrupted power supply to consumers even in fault conditions. It is basically a small sized switchgear unit enclosed completely within a cabinet and consists of disconnectors, fuses, and circuit breakers. Read this article to learn the structure, types, advantages, and applications of a ring main unit (RMU). What is a Ring ... Read More
In electrical substations, an interconnected system of multiple capacitors is used for improving the power factor of the system, this interconnected system of capacitors is referred to as a capacitor bank. In short, a capacitor bank is device which consists of multiple capacitors connected in parallel or series and provide reactive power for improving the power factor of the electrical system. Capacitor banks are important components in utility and industrial substations as they are useful in improving power factor and efficiency of the power supply system. Read this article to learn the basic concepts related to a capacitor bank, ... Read More
In electrical power systems, different types of switchgear devices are used such as circuit breakers, AB switches, isolators for switching and protection purposes. These switching devices play an important role in power systems. There are two common types of switch devices used in electrical power systems are AB Switch (Air Break Switch) and Isolator. Although, the primary purpose of both AB switch and isolator is similar, but they are completely from each other in construction, operation, and many other aspects. For an electrical engineer, it is very essential to understand the differences between AB switch and isolators to design ... Read More
Residual Current Circuit Breaker (RCCB) is a type of circuit breaker used in electrical circuits for protection purposes. The primary function of an RCCB is to detect a leakage in the circuit current. If there is any leakage in the current, the RCCB can interrupt the circuit and prevent the fault to be happened. Read this article to understand the functions, working principle, advantages, and applications of RCCB. What is an RCCB? RCCB (Residual Current Circuit Breaker) is a protecting device that detects any leakage current in the circuit and interrupt the circuit current. When a fault occurs in ... Read More
ArrayList to ArrayList Instead of the typed parameter in generics (T) you can also use “?”, representing an unknown type. These are known as wild cards you can use a wild card as − Type of parameter or, a Field or, a Local field. Using wild cards, you can convert ArrayList to ArrayList as − ArrayList stringList = (ArrayList)(ArrayList)(list); Example import java.util.ArrayList; import java.util.Iterator; import java.util.ListIterator; public class ArrayListExample { public static void main(String args[]) { //Instantiating an ArrayList object ... Read More
To find the third largest number of the given array, first of all, sort the array.Sorting an arrayCompare the first two elements of the arrayIf the first element is greater than the second swap them.Then, compare 2nd and 3rd elements if the second element is greater than the 3rd swap them.Repeat this till the end of the array.After sorting an array print the third element from the end of the array.ExampleLive Demopublic class ThirdLargestNumberInAnArray { public static void main(String args[]){ int temp, size; int array[] = {10, 20, 25, 63, 96, 57}; size = array.length; for(int i = 0; i
In this article, we will understand how to print square star pattern. The pattern is formed by using multiple for-loops and print statements.Below is a demonstration of the same −InputSuppose our input is −Enter the length of a side : 8OutputThe desired output would be −The square pattern : * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ... Read More
In the field of data structure, the vector is a growable class array of a particular object. The vector class falls in the legacy class which is fully compatible with the collections. In java.util package, the List interface can use all the methods listed here. Here is the initial capacity is 10 and the general method is: Vector v = new Vector(); The compare() method accepts two parameters and then compare each other by using Java environment logic. In this article today, we will learn about the sorting process of a 2D array set across the columns. Algorithm to ... Read More
A string is a class of 'java.lang' package that stores a series of characters. Those characters are actually String-type objects. We must enclose the value of string within double quotes. Generally, we can represent characters in lowercase and uppercase in Java. And, it is also possible to convert lowercase characters into uppercase. This article aims to discuss a Java program to convert the first character of each word into uppercase in a string. Java program to Capitalize the first character of each word in a String Before making a Java program to convert the first lowercase character of a ... Read More
The number of times a word occurs in a string denotes its occurrence count. An example of this is given as follows −String = An apple is red in colour. Word = red The word red occurs 1 time in the above string.A program that demonstrates this is given as follows.Example Live Demopublic class Example { public static void main(String args[]) { String string = "Spring is beautiful but so is winter"; String word = "is"; String temp[] = string.split(" "); int count = 0; for (int i = 0; i < temp.length; i++) { if (word.equals(temp[i])) count++; } System.out.println("The string ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP