Latest Answer: When we need a copy of the object we go for cloning. When an object is shallow coned the parent object or top level object and its members are duplicated, where as the low level objects are not duplicated but their references are alone copied. For complete ...
Every application should have a main() method. Under which class does the main() method comes under?
Latest Answer: You will get "Main method not public" if u change public to protected. ...
Servlets are multi threaded by default. If there are concurrent requests to the same servlet the servlet container generates another instance of the servlet . Is this the reason y servelts are multi threaded by default?? Is there any way the multi threaded feature can be achieved ?
What is the need for calling default constructor by JVM? why the JVM should intiializes default values to the data fields if the constructor is not there in our class?
How to transfer data from one web application to another web application which are present in the same container in java?
Latest Answer: Java provides a basic set of synchronisation methods within java.lang.Object, allowing threads to wait for notification from other threads. Using the wait() and notify() methods, threads can synchronise with each other. However, in order to use these ...
Latest Answer: checked exception is compile time exception which inherit "Exception" and unchecked exception is Rintime exception which is subclass of "RuntimeException" ...
Latest Answer: These is no specfice name that is simply called java compiler ...
Latest Answer: Polymorphism means existing in various forms.1).Method Overloading: For example, Same method name and different parameters. Here the method is existing in various forms.2).Method Overriding: You get a method in your class from it's parent class and ...
View page << Previous 1 2 3 4 [5] 6 7 8 9 10 Next >>

Go Top