-
Why String is used as key value in HashMap?
While defining HashMap why String is used as key value over other object values?
-
Core Java and Java
What are differences between Core Java and Java?
-
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^k-z)%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). -
String Format Expression
In the expression String.format("%2d", 5)
what are the things below, be specific. for example, if the thing is an operator, indicate whether it is binary/unary and whether it is arithmetic/logical/relational. If it is a method, indicate whether its static or not
a. String
b. .
c. format()
d. "%2d" and 5 -
-
-
-
-
-
-
-
-
-
How can u move/drag a component placed in Swing Container?
Thirumalai's Answer : Using dnd package. ( I will place a sample code if anybody is intrested )
-
-
-
-
How to use JNI in java? and what are Struts and jini?and how to apply native code in java?
Pl. explain with the e.g.
-
-
Core Java Interview Questions
Ans