Hi,
I just started my Java programming (new to programming) class tonight and I have a question or two. My college is a Windows only school and I would rather use my PowerBook to do the classwork. So, my question is: If I write a java program and compile it in Xcode will it work in windows as well? Do I have to change any lines of code to make it cross platform? I noticed in my textbook that all of the examples are in Windows format so, that got me wondering, if I write the code as it is in the text; will the program look like an OSX program? Meaning, will the control buttons be on the top left corner of the window.
I just started my Java programming (new to programming) class tonight and I have a question or two. My college is a Windows only school and I would rather use my PowerBook to do the classwork. So, my question is: If I write a java program and compile it in Xcode will it work in windows as well? Do I have to change any lines of code to make it cross platform? I noticed in my textbook that all of the examples are in Windows format so, that got me wondering, if I write the code as it is in the text; will the program look like an OSX program? Meaning, will the control buttons be on the top left corner of the window.