Answered Questions

  • SET Operator

    What is a SET operator? What are the types what is the difference between SET operators and JOINS?

    Aparna

    • 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...

    dajjaal

    • 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

    Anonymous

    • Mar 3rd, 2016

    We can call the method by their name and not by their type;;
    Method::
    int sum()
    void sum()

    calling::
    Where object is a;
    a.sum();
    here, it will arise ambiguity which method to call, void sum() or int sum() and thus compiler give error

  • What is the difference between == & .equals

    JBUG

    • Jan 29th, 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...

    laxminarsaiah

    • 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...