Hello,
I'm in a software design class and we are using java; I've taken other programming classes and I'm familiar with a few other languages but that's the problem. I feel like I'm missing the point of java. I don't even know the term for it...but the java style I geuss. How can you program only with classes? I more or less understand the idea of OOP, I've written classes in C++, but I think I mostly just programmed in a C style and used classes to make a new data type and then I'd use it. Java doesn't work like that.
The specific problem I'm working on is making a class for a GUI panel that takes in some user information. We're using regular expressions for validation but the professor wants that stuff in a separate file. In other languages I could just import the file and use it like it were one long file. It doesn't seem to work like that in java.
I'm being a little vague on purpose and I'm not posting code because it's not about this one problem it's about java in general, how do I program like a java programmer, instead of trying to trick the syntax into behaving like a C program. I don't expect this to be a short answer, I'm prepared to read, but I don't even know the correct term for the thing I'm thinking of so I haven't been able to google it yet. I'm sure there's books and essays and websites and probably a few threads on this site that discuss this, so if someone could just point me in the right direction I would be very grateful.
Thank you.