
Originally Posted by
mrrob2001
I prefer C#, java cannot manipulate hardwares in your computer, unlike C# it runs in the .NET environment it can manipulate your hardwares. There are a lot of things C# can do, not just programming softwares, run in different machines it can also manipulate machines. Java cannot. What i mean in manipulate hardwares is that you can communicate with your PC hardwares. You can teach you PC ports what to do, for example the serial port or the parallel port of your PC, C# can communicate with them, or your USB port. Communication with these hardwares can be made through C#. Java is just a virtual machine..
-Rob
In Java you can manipulate the hardware by using Java Native Interface(JNI). For information read this
Java Native Interface - Wikipedia, the free encyclopedia
Aside, ang Java dili maka-manipulate sa hardware directly because of multiplatform siya. Diffirent OS have different hardware implementations.
Ang C# maka-manipulate siya sa hardware kay M$ Windows OS ra man siya mo dagan. In case mo run ang C#/.NET sa other platform/OS, dali ra ba na manipulate niya ang hardware? I think NO. Mao pud na ang ilang problem when it comes to multiplatform.
Lastly, .NET is also a virtual machine.