Wednesday, 30 August 2017

.sk-code { background-color: #EFF0F1 !important; padding: 0px 6px 5px 18px; display: block; white-space: pre-wrap; }   Definition  Unit testing is a process of testing a single unit in isolation by passing inputs to it. A unit can be a single method or a combination of methods. In Junit we will pass different inputs to a unit and checking whether we are getting expected output. The test...

Monday, 28 August 2017

Please go through this tutorial to understand the basic concept List returned by Arrays.asList(): it is documented not to support any removing or adding elements.  If we update a list from a method X by calling another void method Y, list modification will be affected in the list object in the method X. Because the the same object memory is used when passing the reference. So java is Pass by value.  public class...
Page 1 of 101234567...10Next »Last

Search This Blog

Contact us

Name

Email *

Message *