Microsoft basic? If you have toyed with VB3 and up.. The concept of OOP should be starting to take shape.
I think people that want to learn about objects, should code in visual basic for about a month... Once you start thinking that an object is the same as any other variable, you'll be well on your way.
I think books that try to explain OOP are a bit too intense. Back then, when I was learning, people would talk complete gibberish ( OOP jargon ) which completely baffled me..
Microsoft are the worst in the tutorial - learning department... I mean, in the first instance (no pun intended) they declare an object using uppercase THEN just to confuse.. they then call in instance the same name but in lower case..
People fresh in the field look at this declaration and go HUH???
Then they go farther
Code:
cwindow = new CWINDOW(window);
HUH??? The explanation isn't very heplful
The above is me having a bit of a rant, but it is a bit hard on newbies..
The best way is to start low.... Using types ( the basis of all OOP ) in "C" it moves up to structures and unions... then C++ it moves into objects...
I always tell people to think of an object
ie.. Lets take an LCD 16x2 as an everyday object... Think what it can do, what you need from it and what you need to do with it...
variables within LCD
Pins 14 to 20
backlight on/off
colour yellow/blue
size 16x2/20x2/20x4
etc..
you would write functions to enable all the variables to be changed ( correctly I should say, the whole idea of OOP )
You write an initialise function to start everything off..
There you have it all these above.. Shoved into a box that has inputs and outputs and control... Called LCD
To use it you declare (if you are microsoft )
Code:
LCD lcd = new LCD ( pins, backlight, colour, size);
But remember one thing..... OOP really was designed for security... Making code behave, If you pass 26 hours to a clock object it should ensure that its 24 + 2 thus updating the day and so on...
In the embedded world OOP is an overhead that really isn't necessary.
In your case JAVA.. Well, unfortunately, you have to use OOP... You could always have a play with C#, the syntax helpers are excellent in C# and its VERY much like JAVA.
This is my opinion and is open for discussion.