What is the history of Padmanabhaswamy temple?

Knowledge base
Updated on 30-Jul-2019 22:30:24

4K+ Views

Shri Anantha Padmanabhaswamy temple is located in the East fort at Pazhavangadi of Thiruvananthapuram, Kerala. This is the temple of Lord Shri Vishnu which is an ancient structure that was even visited by Balarama, according to Srimad Bhagavatam. This temple also has references in Epics and Puranas like Skanda Purana and Padma Purana. According to the ancient scriptures, it was believed to be built over 5000 years ago but has no perfect pieces of evidence. There is a holy tank called Padma Theerdham meaning lotus spring near the temple.This temple has recently got very famous for its hidden treasures with ... Read More

What is the equivalent of Java long in the context of MySQL variables?

Vrundesha Joshi
Updated on 30-Jul-2019 22:30:24

3K+ Views

The equivalent of Java long in the context of MySQL variables is BigInt.In Java, the long datatype takes 8 bytes while BigInt also takes the same number of bytes.Demo of Java longHere is the demo of Java long −public class JavaLongDemo { public static void main(String[]args) { long kilometer = 9223372036854775807L; System.out.println("The largest positive value for long range:"+kilometer); } }The following is the output −Demo of BigIntLet us see an example of BigInt type in MySQL. The following is the query to ... Read More

What is a rat-race junction in microwaves?

Knowledge base
Updated on 30-Jul-2019 22:30:24

743 Views

Rat-race junction is a microwave device used when there is a need to combine two signals with no phase difference and to avoid the signals that have a path difference.A normal three port Tee junction is taken and 4th port is added to it, to make this rat-race junction. All of these ports are connected in angular ring forms at equal intervals using series or parallel junctions.The mean circumference of total race be 1.5λ and that each of the four ports is separated by a distance of λ/4. The below figure shows the image of a Rat-race junction.Let us consider ... Read More

Convert a Set into a List in Java

karthikeya Boyini
Updated on 30-Jul-2019 22:30:24

186 Views

First, create a Set and add elements −Set s = new HashSet(); s.add("P"); s.add(new Date()); s.add(new Long(898999)); s.add("Q"); s.add("R"); s.add(new Integer(1));Convert the above Set to a List −List l = new ArrayList(s);The following is an example to convert a set into a list in Java −Example Live Demoimport java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Set; import java.util.HashSet; public class Demo {    public static void main(String[] args) {       Set s = new HashSet();       s.add("P");;       s.add(new Date());       s.add(new Long(898999));       s.add("Q");       s.add("R");       ... Read More

What is the mystery of phoenix?

Ridhi Arora
Updated on 30-Jul-2019 22:30:24

95 Views

The first sign of this re-evaluation came when the poet Sidney Lanier in “Shakespeare and His Forerunners” published in 1902, and ‘The Phoenix and Turtle’ in which he described as having ‘more complex ideas in it, for the number of words than perhaps any other poem in our language’.The Princess of the Dragon kingdom was ready to wed the Prince of the Phoenix Kingdom but the Prince gets kidnapped! An evil witch, which was trapped, orchestrated the abduction of the Prince.Mystery CastleMystery Castle is a sprawling 18-room home located in the foothills of South Mountain Park in Phoenix. It is ... Read More

What is the best test match in history of cricket?

yashwanth sitamraju
Updated on 30-Jul-2019 22:30:24

75 Views

The best ever rated test match in test cricket history is India vs. Australia in 2001 which was played at Eden Gardens ground, Kolkata. Now, let’s go back to 2001 and look at the Australian cricket team who were defending champions and number one ranked cricket team in both the formats.Eden Gardens, Kolkata. 15th March 2001.This day was the beginning of a new era of Indian cricket. It was a Thursday with an electrifying atmosphere not just at Eden Gardens but across the country. The venue was the Ganguly’s hometown, where the team snatched away victory from the Aussies and ... Read More

Count how many rows have the same value in MySQL?

Anvi Jain
Updated on 30-Jul-2019 22:30:24

2K+ Views

To count how many rows have the same value using the function COUNT(*) and GROUP BY. The syntax is as follows −SELECT yourColumName1, count(*) as anyVariableName from yourTableName GROUP BY yourColumName1;To understand the above syntax, let us first create a table. The query to create a table is as follows −mysql> create table RowWithSameValue    −> (    −> StudentId int,    −> StudentName varchar(100),    −> StudentMarks int    −> ); Query OK, 0 rows affected (0.55 sec)Insert some records with same value. Here, we have added same marks for more than one student for our example. The query ... Read More

Check whether two HashSet are equal in Java

Samual Sam
Updated on 30-Jul-2019 22:30:24

282 Views

At first, create the first HashSet and add elements to it −// create hash set 1 HashSet hs1 = new HashSet(); hs1.add("G"); hs1.add("H"); hs1.add("I"); hs1.add("J"); hs1.add("K");Create the second HashSet and add elements to it −// create hash set 2 HashSet hs2 = new HashSet(); hs2.add("G"); hs2.add("H"); hs2.add("I"); hs2.add("J"); hs2.add("K");To check whether both the HashSet are equal or not, use the equals() method −hs1.equals(hs2)The following is an example to check whether two HashSet are equal −Example Live Demoimport java.util.*; public class Demo { public static void main(String args[]) { // create hash set ... Read More

What is the importance of Hindu rituals?

Knowledge base
Updated on 30-Jul-2019 22:30:24

470 Views

Rituals are some physical activities which help us either physically or mentally but mostly in an indirect way. There are many Indian traditional rituals among which the Hindu rituals gain higher importance because of the scientific reasons and the amount of discipline involved in them.Hindu Rituals form a structure that makes life easier. Many have scientifically proven health benefits behind them. They have been followed through ages and passed on for generations. The rituals orient you as to where you are and what you should be doing. Most rituals are like an invisible watch, for example, if you are doing ... Read More

How to change position of Toast in Android?

Ankith Reddy
Updated on 30-Jul-2019 22:30:24

2K+ Views

Before getting into an example, we should know what is toast in android. Toast is subclass for  java.lang.Object and used to show a short message for a short period of time after that is going to disappear.This example demonstrates how to change the position of Toast in Android.Step 1 - Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 - Add the following code to res/layout/activity_main.xml.     In the above code, we have taken a text view. when the user clicks on text ... Read More

Advertisements