suresh kumar
Posts: 1
Nickname: sureshbk
Registered: Apr, 2007
|
|
Re: OOPS
|
Posted: Apr 4, 2007 6:17 AM
|
|
There are various reasons for which Java is not purely an oop magic bullet. One obvious reason is that all users who used languages like c or or other such programming languages, would be able to use this language. But a deeper reason is the calculation of primitive datatypes across platforms such as int, double or byte, whereby the usage of such datatypes would take more than the specified space. Again, as per specification, java must be invoked in a 32 bit OS, but it does not specify if that OS must be OOP or not. So, another way by which java had to allow control during an execution is through the use of static keywords, and hence the main method gets control during execution of class. And lastly we have the support for native calls, too in a rather non standard oop manner. well thats all I can think of for the time being.
|
|