-
Inherit Super Class Without Extends Statement
If Object is the super class of all classes, how it is inherited without extends statement?
-
WeakHashMap
Explain how a WeakHashMap works?
-
Directories usage information.
Explain the purpose of 'JDK','JRE',LIB' directories.
-
Realtime J2EE Project Code Standard
What are the code standard used in J2EE project in real time?
-
How does an object knows if some change happens in its base class?
For example:
Class A created with method m1() and its object created in various other files. later m1() changed to m2() and class has added some more public variable. Now question is how does object created in other files came to know about this change happened in its class.
Is Object Listener linked to this question??? -
-
Dynamic Polymorphism
Write a program for dynamic polymorphism without using method overriding?
-
-
-
Inner Class
Can we decalre java inner class as private and protected?
If yes....please explain
If No....please explain -
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 -
-
-
Core Java Interview Questions
Ans