Huge List of Java Interview Questions

28 Comments so far »

  1. Dhananjay said,

    Any application developed in JAVA and using native code will be plateform independent ?

  2. dhinesh said,

    Actually in java no operator overloading.but we are using increment(++) and
    decrement(–) operator.this also operator overloading. why that contradiction?

  3. dhinesh said,

    Actually in java no operator overloading.but we are using increment(++) and
    decrement(–-) operator.this also operator overloading. why that contradiction?

  4. KOtresh said,

    There is no operator overloading in JAVA, but operator + is used as arithmetic addition and concatination operator. why ? pls clarify this

  5. srinivasulu said,

    difference ServletContext and PageContext

  6. Kotresh said,

    Default Layout for Jframe(swings)?

  7. Ajay said,

    difference between Directive and action

  8. Siya said,

    I don’t know where this site has been all my life!!!It has clear answers to almost every question revolving around Java.Keep it up!

  9. Prabhakar Peri said,

    Hi all, this is the reply to questions 2,3, and 4.

    “Operator overloading is not available in Java” does not mean that there is no operator overloading in Java. It mean that the programmer cannot implement operator overloading. It is in built available in the language.

    Actually you cannot find any programming language without operator overloading. Strictly no programming language is excempted. Have a look at the following example.

    3 + 2
    2.5 + 3.0

    These two expressions can be processed by any language. The same + symbol is used to add two integral numbers as well as to add two real numbers. Is it not overloading? The + operator is overloaded to operate on integrals and real numbers. This applies to all languages.

    Hence, operator overloading is there in Java, but in built. It cannot be extended by the programmer as you can do in C++.


You may also like...

1 Response

  1. Manuella says:

    Hi Jane,I hope you don’t mind me responding to your blog. My name is Adam Smith and I nrsrepeet Paragon Internet Group who took over Hostroute last month. Since we took over, we’ve been rapidly migrating everyone from Hostroute’s aging infrastructure to brand new top spec servers (Dual Quad Core Xeon with SAS RAID 10 and 24GB RAM). Unfortunately in this instance we inadvertantly disabled JSP support on your site. It was entirely our fault. We apologised and resolved the issue for you within 2 hours, on a Saturday night.You should experience vastly improved performance and reliability in the future. Maybe even better than the host you’re using for this website!Give us a call if you need anything. Regards,Adam.

Leave a Reply

Your email address will not be published. Required fields are marked *