In the earlier two series of getting familiar with Java we learn miniature concepts of classes, variables and other elements that should be there with Java programming. In this tutorial we will be reading in detail about classes and objects in Java. Class is the systematic structure with which objects can be initiated. Properties of […]
In this chapter in order to be getting familiar with java we have learned in detail about, what are different anatomy of classes such as variables, strings, casting, concatenation, increment, decrement, array and much other information? It is time to practice these in order to be good at understanding these functionalities.
Properties is connected with objects in term of instances. You create instances to any of properties and then connect it and then create different methods for each property to work in seamless manners. When we built anything with Java, we create instances and this can be created innumerable ways so that these can connect with properties to assign the characteristics. In short Properties, is state of the object and methods are the behavior of objects.
We can use the logic element inside mainactivity.java and write the same code and then it can be done that way. It is upto user to choose which part of activity such as design or logic part to choose. The design part is easier as it is drag and drop element. The logic part is for geeks who want to comprehensively understands the how the logic of coding in relation with design element works and it is completely yours choice to choose which part.