Latest Answer: In JDK 1.5 there are many new IO classes, enhanced for loop, autoboxing (i.e., we can directly use the Wrapper classes are primitive data types.) For example,Integer a = 10; where as in JDK 1.4 it is not possible. These are the main differences.Hope I ...
Latest Answer: The number is only the status code for the termination of the JVM. It does not effect the actual command. By convention 0 means a normal exit, any other number is an abnormal termination. ...
How String object is immutable and why?
Latest Answer: Ur question can be answered with an example : String s = "here it goes";s.toUppercase(); This does not modify the variable s at all. Instead, a new String object is created with all the characters of s changed to upper case. Since the new object ...
Why Java does not support preprocessor directives?
What is reflection and its use in java?
Latest Answer: Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively advanced feature and should be used only by developers who have a strong ...
Latest Answer: final is a keyword used to declare constants. finally block is used in an exception handling.whether there is an exception or not in try block in , finally block will be executed.we used to provide the code like like deallocating resources(closing database,closing ...
Latest Answer: we can add 2 numbers using xor operator but it will not handle carry therefore, we first use and operator on those 2 numbers n den take a xor of dem ...shift d res of and by 1 bit and den wil xor again the res of shift with d prev xor res....until ...
Write an application that reads a five-letter word from the user and produces every possible three-letter string can be derived from the letters of the five-letter word. For example, the three-letter words produced from the word "bathe" include "ate," "bat," "tab," "hat," "the," and "tea."
View page << Previous 5 6 7 8 [9] 10 11 12 13 14 Next >>

Go Top