Can we catch an Error occurred in a class by extending that class with Throwable Since, Exception and error is the sub class of throwable.If yes/no- why?
Latest Answer: we can handle the exception but we cabt handle error super call of both is throwable ...
Latest Answer: A JVM has a string pool where it keeps at most one object of any String. String literals always refer to an object in the string pool. String objects created with the new operator do not refer to objects in the string pool.Afetr using the string object ...
Latest Answer: immutable means once object is created then you can not make any change to it. if you try to do so then new object will be created and original object will be lost.final modifier is used to indicate that the class can not be extended not to make any object ...
Latest Answer: Java supports pass by value only. In case passed value is of primitive data type it is clear that this is pass by value. But when we pass any reference variable value then confusion arrises because here changes are refelected in original object. ...
What is the difference between Transient and Volatile. Does volatile variable is serialized and synchronised.
Latest Answer: Transient State of an object can be saved (write to any file) if the class
implements java.io.Serializable interface. In this case all of the field's value
will be saved. If we want any of the field's state must not be saved then we
have to modify ...
Why wait and notify method in Object class, why these are not in Thread Class.
Latest Answer: Inter thread communication is not directly supported by the producer or consumer, but by the object they are acting upon. Also lock is associated with a particular object. If a thread needs a lock it use sync block and release using object's methods. ...
Latest Answer: according to sun system there is no corejava and advanced java.only j2se,j2eeNo advanced java is there as per sun micro... Fucking Training centers daivide j2ee into two patrs. Dont tell in interview i Know Advanced Java. ...
Latest Answer: In Event based frameworks, process flow will happend with event triggering where as Requester based frameworks, based up on user request process flow will happend. Examples are, in Springs framework, Spring MVC framework is request based flow where it ...
What are the difference between Legacy classes and Collection other than Synchronized?
Latest Answer: Legacy Classes : Previously Collection Frame Work was not part of java.util package. Later some of the classes were re-engineered Known as Legacy Classes. Legacy Classes are SYNCRONIZED(Ctrlng accessibility over the resource).Ex:Vector/Stack/Hashtable/Dictionary/Properties. ...
Hi, Is it possible to run the 2 tomcat servers simultaneously with different ports.Some times it's working. some times its not running,Anybody can help me to solve this problem.Thxregards'Punitha.R
Latest Answer: You are first installed the Tomcat server. second is write to u'r pc enviroment variable to CATALINAHOME : ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top