|
sbucareer (m)
|
FDeveloper, you are quite right. The issue of language technologies and the concept of OOP (Object Oriented Programming) is the baseline to understanding Java and other OOP language.
But wait, isn't VB an OOP? Well if you asked me, the answer I'd give is yes VB is a construct of OOP. But like what FDeveloper said, understanding the technological issues surrounding a platform/language is another key factor to graceful migration to another language.
They key issue of programming to understanding it is the elements of its compound factors i.e. variables, variables type representation example int, char, boolean, String, byte, double, float and it Object equivalent i.e Float, Doublet, Integer, Character, Boolean, Byte
Objects, have attributes and methods to access these attributes. Object could provide methods to change the states of these attribute. Example if we have an Object called Person and it hold personal attributes of one particular person called John. If John was 18 years this year, next year John would be 19. If we do not provide a method in the Object class Person to change John age, John will allways remain 18 years, which is a very serious bug in our program.
Object encapsulate all the attributes, methods, static attributes of a particular instance of a class for example Person. Person is instantiated to an object called John. With John object, we can find the state of John by just calling it relevant methods i.e. getAge(), which will return 18.
|