Results 1 to 3 of 3
Thread: OOPS example
- 09-22-2008, 12:42 PM #1
Member
- Join Date
- Jun 2008
- Location
- us
- Posts
- 47
- Rep Power
- 0
- 09-22-2008, 01:24 PM #2
Member
- Join Date
- Sep 2008
- Posts
- 16
- Rep Power
- 0
I don't understand your meaning of OOPs. However, I think that you mean the Object oriented programming. For example, the car is object. You can use java to represent the object.
public class car{
}
- 09-22-2008, 02:41 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,370
- Blog Entries
- 1
- Rep Power
- 26
Think in this way. Say you have a collection of vehicles. In more depth what you can think about it.
Actually there are different types of vehicles, and you can group them in different ways. Simply like this,
Vehicles
- Deesal
-- Jeep
--- 2WD
--- 4WD
-- Lorry
--- etc
-- etc
--- etc
- Petrol
-- Car
-- etc
Bookmarks