SunshineJava wrote:So this is a school assignment of some sort?
I am trying to write the code you would need to create an object of type Example, and then call its method setValue to inititalize it.
This is what I have so far and I am a little lost.Then off you go to the Java Tutorial. You'll learn all the basics and more from there!
SunshineJava wrote:Oh dear. I'm sorry but... you're going to get them! Over and over and over and over and over.
Yes it is a school assignment. Yes I do understand the basics. Yes I don't appreciate the smart a$$ answers.
SunshineJava wrote:Well we don't appreciate dumba$$ questions, but it's not like that has done any good.
Yes I don't appreciate the smart a$$ answers.
This is code that the teacher gave us and sometimes I just don't understand what he is asking. Yes I could go ask the teacher, but its an online course and sometimes its days before I get an answer. I was hoping that someone here might be able to lend a hand. I don't want anyone to write it for me but to help me to understand. In the past he has given us examples which has helped. In this situation this was all that was provided.I was going to help you. I immediately saw that it's clearly an assignment, but I was willing to provide some gentle hints towards the right direction.
If you have thoughts or ideas, direction = great. If your going to be a smart a$$ = keep your comments to yourself please.You can't control who comments, just like we can't control who asks questions, so don't bother crying about that.
The last thing I want is for anyone to DO my work.Then make an effort. Explain where you're stuck, what you've tried and so forth. Just dumping your assignment and saying "I don't know what to do" sounds a lot like you DON'T want to do your work.
Kayaman wrote:That is actually a harsh lesson that is very true. If you can't EVEN be bothered to study this stuff and try to understand it yourself - give up now. Java programming (and software engineering as a whole) is difficult and requires constant personal development and expansion of knowledge of not only technical skills but also that knowledge which you need to apply software engineering to a specific field (finance, marketing, science, whatever); in other words it takes up a huge chunk of your life and if you want to be in any way competitive: your free time as well.
I gave you the link to the Java Tutorial. If you can't bother to read that, don't bother continuing with Java.