Latest Answer: We should set the class path otherwise we can't compile the java program. ...
Latest Answer: with the help of serilization and exterlization ...
Latest Answer: Using finalize() method in java is not a recommended solution to release the system resources used by an object. The finalize() method will be called before deleting an object. An object in java will be deleted only by a garbage collector. The ...
Latest Answer: If you want to change the design of the application at the time of implementation ...
Latest Answer: String builder has been implemented in 1.5 can any one expalin me in detail ...
Latest Answer: In Java language programming, interfaces with no methods are known as marker interfaces. Marker interfaces are Serializable, Clonable, SingleThreadModel, Event listener. Marker Interfaces are implemented by the classes or their super classes in order ...
Latest Answer: It simply adds last one, it wont throw any exception, that is logical mistake, must taken care by programmer. ...
Latest Answer: object state ie propery and value ...
Import java.util.*;public class SetEx { private String str; SetEx(String s) { str = s } public static void main(String[] ar) { Set s = new HashSet(); SetEx setEx = new SetEx("Java"); SetEx setEx1 = new SetEx("Java"); String str1 = new String("Java"); String str2 = new String("Java"); s.add(setEx); s.add(setEx1); s.add(str1); s.add(str2); System.out.println("No Of elements
Latest Answer: Byte code in 0/1 formate where is ascii code is given to every char is some number ...
View page << Previous 3 4 5 6 [7] 8 9 10 11 12 Next >>

Go Top