The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.

Hello!

Hi guys! (And ladies.)

I'm a Computer Science student at USF and am currently taking a class on program design centering around Java. I have very little experience with it, but I'm doing fairly well. Mostly though, I've been having issues because I keep asking questions the professor can't answer. He doesn't seem particularly well versed in Java, and I keep trying to go beyond the limitations of the class and hitting walls.

So let me preface this by saying I'm not looking for help on homework, as homework isn't assigned, or on labs, since we only have about an hour in which to do them. I'm really just looking to get a better understanding of the workings of Java.

I'm sure many questions I ask are going to be very obvious to you guys (Hopefully so I can get quick answers ! ) but I'll try to make sure no one has posted asking the same question.

Hopefully I can get a better understanding of Java, and if it gets solid enough, maybe even begin to help others! Who knows?

tl;dr : College student, not looking for homework help, just looking to learn as much about Java as possible due to lackluster professor.

Re: Hello!

Hello and welcome Jelula, you seem to have a really good attitude towards this forum and Java, that alone will get you a long way. Looking forward to helping you become a greater developer and to see you start answering other peoples questions as well

Re: Hello!

Ah having a crappy teacher sucks. I had a tutor like that when I started learning Java after 2 weeks she kept asking me to figure out what was wrong with other peoples code .

Anyways welcome and you definatly have the right idea we got very little homework when I started and I missed out on a lot of key concepts that I thought I understood but I'm just now getting to grips with by actually writing code in different ways to get a better idea of things and frankly it's the only way to learn.

How to: SQL in Java

Sooner or later you are going to have to connect your Java application to a database. When you do, you can check this article (HOW TO: SQL in JAVA) for instructions on how to connect to SQL Server database from Java database applications. It also describes how to pass embedded SQL queries (SELECT, INSERT, UPDATE, DELETE), calling stored procedures, pass parameters etc.

Re: Hello!

So far I've learned a ton, the major slap in the face was realizing that you can't simply == strings. >.> took me a few hours to figure that one out.

I feel like my biggest problem so far is coming up with elegant solutions. I manage to get everything to work and spit out my code faster than most, but other people's seem much simpler. I guess it will come with time. But it genuinely is a lot of fun, I recently made a rock paper scissors program and even though it's completely lame, I can't keep myself from playing with it.