Latest Answer: Object has physical existance and class doesn't have physical existance .Object is an instance of the class and class is templete for the object ...
Latest Answer: >> An object is a specific form of an instance: the instance of a class. >> There are other forms of instances - for example -- in UML, a link is an instance of an association. -- A process can be an instance of RUP ...
Latest Answer: Wrapping up data into single unit(Class) is called encapsulation. ...
Latest Answer: Polymorphism is different implementations of methods with same signatures in a class hierarchy.Ploymorphisms may be classified as Interface based -- achieved when two classes implement the same interface providing different implementations of the ...
Latest Answer: Vector was used in the older version of java where all the methods are synchronised for thread safety, but since it was creating a lot of performance problem ArrayList was introduced where none of the methods are synchronised ...
Latest Answer: You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is done by adding the directive within your JSP page. With this, instead of a single instance of the servlet generated ...
Latest Answer: multi threading is nothing but more threads(small program) running on a single program. that is we utilised the cpu time very effectively.synchronisation means if multiple threads try to access the particular resources , then there will a error accuired ...
Latest Answer: we can stop a thread through Thread.stop() .if we want to styop a thread for particular peroid ,then we can use sleep comman.syntax: Thread.sleep(long secs) ...
Latest Answer: no both are not same. sleep command is used stop a thread for particular period when it was specified. after that it automatically waked. but stop command is awaken through when the thread get 'notify' ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top