Thursday, 30 April 2015

Java Source World: finalize( ) method

finalize( ) method in java | Java Source World                                                              Java Source World                A Java quick reference blog  finalize( ) method: All the objects have finalize() method, this method is inherited from the Object class.  finalize() is used to release the system resources other than memory(such as file handles & network connections. finalize( ) is used just before an object is destroyed and can be called prior to garbage collection. finalize() is called only once for an Object. If any exception is thrown in...
Read More »

Wednesday, 29 April 2015

Java Source World: What are access specifiers and access modifiers

What are access specifiers and access modifiers | Java Source World                                                                                        Java Source World                   A Java quick reference blog  What are access specifiers and access modifiers in java           Access specifiers                                      Access...
Read More »

Java Source World: Declaration of access specifier and access modifiers

Declaration of access specifier and access modifiers | Java Source World                                                              Java Source World                   A Java quick reference blog  Declaration of access specifier and access modifiers Class -  Public, Abstract, Final Inner Class - Public, Protected, Private, Final, Static, Anonymous - Public, Protected, Private, Static Variable - Public, Protected, Private, Final, Static, Transient, Volatile, Native Method - Public, Protected, Private, Final, Abstract,...
Read More »

Java Source World: Spring Interview Questions

Normal 0 false false false EN-IN X-NONE X-NONE ...
Read More »

Tuesday, 28 April 2015

Java Source World: Spring Framework - Constructor Injection with Collection Example

Constructor Injection with Collection Example  Spring Framework - Constructor Injection with Collection Example We can inject collection values by constructor in spring framework. There can be used three elements inside the constructor-arg element.It can be:   list   set   map Each collection can have string based and non-string based values. In this example, we are taking the example of Forum where One question can have multiple answers. There are three pages:     Question.java    applicationContext.xml    Test.java In this example, we are using list that can have duplicate elements, you may use set that have only unique elements. But, you need to change list to set in the applicationContext.xml...
Read More »