This is a very easy programme. Just create a object of Scanner class and read a string. Now use the replace() method of the String class.
4421
Dibyendu Banerjee
16/06/2018
Charles John Huffam Dickens, popularly known as Charles Dickens, (7 February 1812 - 9 June 1870) is regarded as the literary colossus of his age.
11057
Arnab De
14/06/2018
As we already extends Applet class, we cannot extends another class called Thread. But we can implements the Runnable interface.
5904
Dibyendu Banerjee
14/06/2018
In the region of Sault, around the Mont-Ventoux in the Luberon of France, there are lots of spectacular natural lavender fields with exotic scenic beauty.
6572
Dibyendu Banerjee
12/06/2018
Held every year during the week leading up to Lent, the Carnival in Rio de Janeiro, known as the famous Rio Carnival. It is the biggest carnival in the world.
10867
Arnab De
12/06/2018
Create a string array by populating the month name. Now accept the month name from user and match it to the array. If match it then print the (index+1) as a ...
Now as we know, String is not a mutable, we convert the string into a StringBuffer Object. Now easily use the selection sort method on the StringBuffer object.
97 is the ASCII (American Standred Code for Information Interchange) code of small a. If we increment the character variable then it turn to 98.
15445
Arnab De
11/06/2018
create a method called IsPrime() to check a number is prime or not. In main method we accept a number and cut the digit from last for check it is prime or not.
6653
Dibyendu Banerjee
11/06/2018
Located in the heart of the old city of Hyderabad, the Charminar stands regally tall amidst the colourful bangle shops in the heart of the winding and rambl ...
29530
Arnab De
09/06/2018
Split the given sting by space (" ") character. and store into a string array. Now get the first character of each word, except last word, followed by a dot ...
7558
Dibyendu Banerjee
09/06/2018
Voice does not mean the sound we make while we talk. It indicates whether the subject of a sentence is doing the action, or having the action done to it.
4927
Dibyendu Banerjee
08/06/2018
Located in the east of the Roman Forum, in the heart of the city of Rome, the Colosseum is said to be the largest amphitheater ever been built in the Roman ...
17444
Arnab De
08/06/2018
simple convert the digits into words and print it. In others way, here we convert the numbers into words properly. and according to me This is the correct way.
9646
Dibyendu Banerjee & Sudipta Banerjee
06/06/2018
The position of the earth on 21st June is known as Summer Solstice. On September 23, the Sun rays fall vertically on the Equator. Autumnal Equinox
8562
Dibyendu Banerjee
04/06/2018
The Tower of London, the historic castle located on the north bank of the River Thames in central London, was basically built to provide additional royal ac ...
6565
Dibyendu Banerjee
02/06/2018
Rai Pithora, popularly known as Prithviraj Chauhan, was a Rajput king of the Chauhan dynasty. Born to Someshwar Chauhan and Karpuri Devi in 1149. He was a b ...
5242
Dibyendu Banerjee
01/06/2018
Colonne de Juillet or the July Column, a steel and bronze column standing 52 meters high and weighing 170 tons, is located in the center of Place de la Bast ...
6275
Dibyendu Banerjee
31/05/2018
Located at the summit of Mount Corcovado in Rio de Jeneiro, Brazil, Christ the Redeemer is an unusual and colossal statue of Jesus Christ.
6228
Dibyendu Banerjee
30/05/2018
Lord Byron, regarded as one of the greatest British poets and a leading figure in the Romantic Movement, was born as George Noel and his second wife on 1788.
3663
Dibyendu Banerjee
28/05/2018
The Rainbow Mountains are part of the Zhangye Danxia landform area, located in Zhangye city in Gansu Province of northwestern China. It known as the eye can ...
3917
Dibyendu Banerjee
27/05/2018
Holi or Festival of Colours, one of the most popular festivals in India. Basically a Hindu spring festival, it is celebrated in India and other countries.
54548
Dibyendu Banerjee
26/05/2018
Person in language is the grammatical distinction between the speaker (first person), the addressee (second person), and others (third person).
5141
Dibyendu Banerjee
24/05/2018
By the term red letter day mean, any day of special importance or specific significance, which may be related to a particular individual or a segment or a n ...
6592
Dibyendu Banerjee
23/05/2018
Concealed from the human eyes for thousands of years, the Ajanta Caves in India, were accidentally discovered by an Army Officer of the British Army
16714
Dibyendu Banerjee & Sudipta Banerjee
22/05/2018
While spinning on its axis in a west-east direction, the Earth also moves round the Sun in an anticlockwise direction along its 960 million km long elliptic ...
5675
Dibyendu Banerjee
21/05/2018
In the same year, Titus brother and successor, Domitian commissioned the construction of the Arch of Titus to posthumously honor his late brother and to com ...
3068
Dibyendu Banerjee
20/05/2018
William the Conqueror, born in 1028 as William I, was the first Norman King of England, reigning from 1066 till his death in 1088. His mistress Herleve, th ...
5318
Dibyendu Banerjee
19/05/2018
Two Rostral Columns were built on the square in front of the neoclassical facade of the Stock Exchange, now a naval museum.
Put identical or common array elements of two array X[] and Y[] into an another single dimensional arrays Z[]. Print All Three Arrays elements one after an ...