1)Write a program to find the no of instance of a class ?
2)Why java packages root starts with "com" or "Org" ?
2)Why java packages root starts with "com" or "Org" ?
3)What is the difference between composition and inheritance in Java?And when to use?
4)How is sorting implemented in java?
5)What is the Max size of a Java Object?
6)How java uses stack and heap?
7)How Singletons are maintained in a Clustered Environment?
There are two methods :
a ) Oralce/Java Coherence
b) Teracotta
http://www.infoq.com/articles/ open-terracotta-intro
9) How is static and class variable stored in Java?
10) How can we prevent overriding of a method?
11) How can you create a memory leak?
12) Difference between a static class and singleton.
13) What happens to reference object when we serialize an object?
14) Tagged or marked interface??
15) static and Dynamic Binding?
16) Class A inherits class B. What happens to class A if class B is Serializable? Will Class A get Serialized? If yes what to do to stop class A from getting serialized?
17) Why is string immutable?
18) String.equals() and String== difference
19) Why Overriding Hash code requires over riding of Equal()?
20)If 2 war files are deployed in same tomcat server. How can you access a class file in one war from other?
9) How is static and class variable stored in Java?
10) How can we prevent overriding of a method?
11) How can you create a memory leak?
12) Difference between a static class and singleton.
13) What happens to reference object when we serialize an object?
14) Tagged or marked interface??
15) static and Dynamic Binding?
16) Class A inherits class B. What happens to class A if class B is Serializable? Will Class A get Serialized? If yes what to do to stop class A from getting serialized?
17) Why is string immutable?
18) String.equals() and String== difference
19) Why Overriding Hash code requires over riding of Equal()?
20)If 2 war files are deployed in same tomcat server. How can you access a class file in one war from other?
No comments:
Post a Comment