-
Java command line arguments
What is the difference between java command line arguments and C command line arguments?
-
Why Map is not include in Collection in Java?
Means, Map is a pert of Collection framework but not included in Collection....only List, Set and Queue are included ....Why?
-
How switch from new tab to old tab ?
How switch from new tab to old tab and is this possible to use Applet and Swings in selenium?
-
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 )
-
-
-
-
-
Core Java Interview Questions
Ans