Vidurshan ThirulogasankerImmutable JavaAn immutable object is an object whose internal state remains constant after it has been entirely created.Apr 7, 2022Apr 7, 2022
Vidurshan ThirulogasankerYou can try but don’t forget to catchA method can throw an exception when something fails at runtime.Mar 18, 2022Mar 18, 2022
Vidurshan ThirulogasankerNumbers and staticsA static method should be called using the class name rather than an object reference variable:Mar 18, 2022Mar 18, 2022
Vidurshan ThirulogasankerVariables & ConstructorsJava has two areas of memory we care about, that is the Stack and the Heap.Mar 17, 2022Mar 17, 2022
Vidurshan ThirulogasankerInheritance . what did we inherit?When we use inheritance, we put common code in a class and then tell other more specific classes that the common (more abstract) class is…Mar 15, 2022Mar 15, 2022
Vidurshan ThirulogasankerDatatypes . What are they?In Java variables must have a type.Mar 10, 2022Mar 10, 2022
Vidurshan ThirulogasankerMemento Design PatternA Memento Pattern says that “to restore the state of an object to its previous state”. But it must do this without violating Encapsulation…Mar 9, 2022Mar 9, 2022