






Should i override Equals and hasCode methods while implementing Comparable interface??
somewhere I read we should override equals() and hasCode() methods while implementing Comparable interface... I could not understand why should i do so... Kindly help.. thx in advance.

Java command line arguments
What is the difference between java command line arguments and C command line arguments?

Increment and Decrements Operators
If int=8 then how to solve ++a+a*aa++








Output of Java Program
What is the output of the following program?class A{ public static void main(String[] s) { System.out.println(s[1] + s[2] + s[3]);}}java A 12345Options(i) 1(ii) 12(iii)1234(iv)234(v) Compilation Error



Mystique Function
Today we have a special function called Mystique Function.Mystique function for any value x is denoted by H(x). H(x) is defined as the count of positive integers such that (Let k be one of such positive integer)
1) x%k=0
2) for every integer z it satisfies (z^kz)%k=0.
3) k>1
Now given a value x you need to print the sum of H(2)+H(3)+H(4)..H(x).
Core Java Interview Questions
Ans