Latest Answer: By default, cloning yields a shallow copy. By shallow, we mean the object is copied, but the contained objects are not. What a deep copy does it copy the cloned object, as well as all the objects within. For instance, if you have an array of five elements, ...
Every application should have a main() method. Under which class does the main() method comes under?
Latest Answer: It compiles but gives runtime exception like "Main method is not public". ...
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: When threads are running in shared resources we can manage the threads by using native methods (wait(), notify(), notifyAll()) from Object class.This is inter process communication between the threads while sharing shared resources
...
Latest Answer: checked exceptions must be handeled.That is, a try-catch must either be nested around the call to the method that throws the exception.The compiler will throw an error message if it detects an uncaught ...
Latest Answer: There is no specific name for it, its only JAVA COMPILER and you can find it by
the name javac.exe which you are providing the class path at the compilation or
at the
system properties--> Advanced-->environment variable in windows
if you have taken ...
Latest Answer: The term static polymorphism is associated with overloaded methods because it gives the impression that a single named method will accept a number of different argument types. The System.out.println() method is an example that may take String or Object ...
View page << Previous 2 3 4 5 [6] 7 8 9 10 11 Next >>

Go Top