GeekInterview.com
Answered Questions

Set operator

Asked By: jagadeesh9 | Asked On: Mar 25th, 2008

What is a set operator? What are the types what is the difference between set operators and joins?

Answered by: Aparna on: Apr 5th, 2012

Union --> All rows/cols from 1st select and 2nd select with no duplicates Union All -->All rows/cols from 1st Select and 2nd Select with duplicates Intersect --> Rows common in both select statements...

Answered by: dajjaal on: Sep 20th, 2010

The UNION operator is used to combine the result-set of two or more SELECT statements.   SQL joins are used to query data from two or more tables, based on a relationship between certain columns in these tables.

can methods be overloaded based on the return types

Asked By: Interview Candidate | Asked On: Aug 13th, 2005

Answered by: dheerendra on: Sep 2nd, 2008

Methods cannot be overloaded only on the basis of return type atleast one argument should be different, otherwise compiler will give the message "The function is already defined in the class".

Answered by: raghuprasad on: Sep 1st, 2008

ya, methods can be overloaded based on the return type. You might be confused this with the Overriding. In method Overriding, it is not possible to change the return type, the entire prototype has to ...

what is the difference between == & .Equals

Asked By: Interview Candidate | Asked On: Aug 18th, 2005

Answered by: JBUG on: Jan 28th, 2012

The "==" operator can be used to test primitive values for equality, and can also be used to determine if two object references point to the same underlying object. For Java objects, the equals meth...

Answered by: laxminarsaiah on: Dec 27th, 2011

equals() method is expected to check for the equivalence the contents of the objects. Whereas the == operator is expected to check the actual object instances are same or not."j...

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us: