Objects in java have a particular state at any given instance during run time of a program. Android echosystem consists of mechanism in which different objects work together wile reacting to each other’s change in state. Let us take an example : EditText is a ‘View’ object and it has a property ‘text’ which […]
Category: Training
Generics – Generalising your code .
Formal definition of generics in java : Java Generic methods and generic classes enable programmers to specify, with a single method declaration, a set of related methods or, with a single class declaration, a set of related types, respectively. Generics also provide compile-time type safety that allows programmers to catch invalid types at compile time. Let us understand generics with […]