Results 1 to 17 of 17
Thread: assignment
- 07-24-2014, 10:29 AM #1
Member
- Join Date
- Jul 2014
- Posts
- 1
- Rep Power
- 0
- 07-24-2014, 10:36 AM #2
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 12
Re: assignment
Thank you for sharing your homework. If you have any trouble doing it, feel free to ask a specific question.
"Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 07-24-2014, 10:50 AM #3
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 12
Re: assignment
Of course, a PM was soon to follow.
i cant figure it out hw this stuff work. can u help me out with it all
You need to study like everyone else. Try eating some fruit, the glucose is important for a healthy brain."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 07-24-2014, 11:13 AM #4
Re: assignment
(S)He's obviously management material.
"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 07-24-2014, 11:18 AM #5
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
Okay,
I am a terrible beginner but nevertheless,
public.main.void(String[] args)
{
System.out.println("hate");
System.out.print("hove");
}
Run this on your compiler of your Eclipse of Netbeans or Bluej or jGRASP or any other IDE that you are using and the compiler should print out the result that you have requested.
I am only a 6 hour old Java programmer so, if anyone else is going to read this, do reply to me! I am willing to learn this completely!
- 07-24-2014, 11:35 AM #6
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 28
Re: assignment
"love", not "hove". At least read the assignment text carefully ...
kind regards,
JosBuild a wall around Donald Trump; I'll pay for it.
- 07-24-2014, 11:52 AM #7
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
Whoops,
Thanks Jos. That, is known as a logical error, the syntax of my code is correct; however, the logic of my coding is incorrect because I wrote "hove" instead of "love".
- 07-24-2014, 12:43 PM #8
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 28
- 07-24-2014, 12:54 PM #9
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
Umm..I feel like a baby right now, could you re-word that? I am only a day old. :( Sys out is my strongest understanding.
- 07-24-2014, 01:05 PM #10
Re: assignment
Doesn't get better than this: "the code doesn't do what your assignment text asked it to do;". The assignment wants you to change words in a piece of text (Which we will refer to as a "String"). Your code doesn't do that.
Imagine how you would approach this if this was on paper. Write down the steps as expicit as possible. When that's done, try translating that into Java code (OP are you listening??!). The exercise might want you replace something in the String. (There is a hint hidden in the last sentence...)"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 07-25-2014, 01:06 AM #11
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
I haven't gotten that far in my programming practice. I have only been doing basic, static sort of manipulation.
Could you explain,
What a string is? Is it a declaration?
- 07-25-2014, 02:06 AM #12
Senior Member
- Join Date
- Jan 2013
- Location
- Northern Virginia, United States
- Posts
- 6,226
- Rep Power
- 13
Re: assignment
The JavaTM Tutorials | SSCCE | Java Naming Conventions
Poor planning on your part does not constitute an emergency on my part
- 07-25-2014, 07:46 AM #13
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
And lemiso left with only one forum post to his name for Java.
Will this community be benefiticial to my struggle to master the basics of Java? I am just wondering.
- 07-25-2014, 08:17 AM #14
Re: assignment
A sequence of characters: Strings (The Java™ Tutorials > Learning the Java Language > Numbers and Strings)
"It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013
- 07-25-2014, 10:08 AM #15
Just a guy
- Join Date
- Jun 2013
- Location
- Netherlands
- Posts
- 5,114
- Rep Power
- 12
Re: assignment
Depends on you. You have to do it, all anyone else can do is offer support but that support can only work for someone who takes control of their own learning path rather than having other people carve it out for them. This thread is the perfect example of what you DON'T do; a literal dump of the homework text, not even a tiny bit of effort made to add a single personal touch to the post!
You'll find that in this forum, the focus is on helping people to learn and find answers and understanding themselves, not to provide solutions. That is met with plenty of resistance (sometimes verbally aggressive resistance) since it requires lots of personal effort."Syntactic sugar causes cancer of the semicolon." -- Alan Perlis
- 07-25-2014, 11:39 AM #16
Member
- Join Date
- Jul 2014
- Location
- Mililani
- Posts
- 37
- Rep Power
- 0
Re: assignment
Alright,
Well I know that asking you guys for an answer is wrong to do.
So, I can ask for assistance when I am stuck, and you guys can give me suggestions that can help give me the right idea to figure out how to solve the problem on my own.
- 07-25-2014, 12:00 PM #17
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 14,422
- Blog Entries
- 7
- Rep Power
- 28
Re: assignment
True, you have to do your own homework. but first of all you have to study some more; I've seen you ask questions like "why are there so many curly braces in the code?"; it would've been like me, after studying an Arabic language for one day, asking "what are all those spaghetti blob thingies doing in my book?"; the question itself doesn't make any sense. You need to have a firm grip on the basics of the language first, i.e. what is a class? What does public static void main(String[] args) mean? And what are those square brackets doing there and what is a String? Why are those curly brackets needed? etc. etc.
Before that, don't try to answer somebody else's question here; your answers won't make any sense; and don't try to read Java source code as if it was (part of) a novel; you can't read source code like that.
kind regards,
JosBuild a wall around Donald Trump; I'll pay for it.
Similar Threads
-
i need help with assignment
By samwright92 in forum New To JavaReplies: 5Last Post: 12-04-2012, 04:32 AM -
Need help with this assignment
By shogunduk in forum New To JavaReplies: 8Last Post: 09-25-2012, 05:20 AM -
Can anyone help me in my Assignment
By nono in forum New To JavaReplies: 18Last Post: 11-15-2010, 06:52 AM -
help with an assignment!
By Tek in forum New To JavaReplies: 6Last Post: 10-25-2010, 12:32 AM
Bookmarks