+ 2
How can i link up with an experienced tutor?
This Getting User Input is starting to piss me off... really guys
18 Respuestas
+ 6
I think he’s talking about sololearn’s user input. Because it is so terrible for all languages but Web. But I don’t know what that had to do with a tutor, so IDK.
+ 5
First off, good to understand what the word itself means, as it explains it mostly.
con·cat·e·nate - VERB
link (things) together in a chain or series.
So in the context of a String in Java, you're linking together a series of things into a string.
Here is an example:
https://code.sololearn.com/cF3b3r4U6lP8/#java
String myString = "Hello, my name is ";
String myName = "Mateusz";
System.out.println(myString + myName + "! It's a pleasure to meet you.");
OUTPUT::::
Hello, my name is Mateusz! It's a pleasure to meet you.
^In this example, I'm concatenating (linking together) two variables, which combines their values into the output. Then I'm concatenating a String literal onto it as well, which combines it onto the output as well.
Also, I forgot to mention, the '+' operator is what is concatenating the strings together. If it makes it easier to remember, it is "adding" the strings together, which when you're not dealing with math it is concatenating instead of calculating.
+ 5
Fata1 Err0r,
Yes mate I agree, we need to do something about this, for the better of everyone, early guide for new users is in order I guess ; )
Hussein Adams,
I see Fata1 Err0r has helped you with the issue, you're in good hands, I haven't learned Java yet, but no worries there are other friends here are helpful, happy coding and welcome to friendly SoloLearn : )
+ 5
@Hussein
EXAMPLE:
System.out.println(myString + myName + "! It's a pleasure to meet you.");
^You use the quotes (" ") when you're directly providing it a string value, rather than feeding it a value via a variable. So when you use " ", you're providing the string value itself rather than a variable that's holding a string value. If you look at the variables we declared above (myString and myName), we're providing the variables a string value, so we wrap the value in quotes.
+ 3
@Hussein
What type of issue are you running into? I'm more than happy to help you resolve.
+ 3
@Hussein
Sooooooooooooooooooooooo what type of issue are you running in to? I know I look funny, but I wasn't joking when I said that I don't mind helping you. lol Don't get me wrong though, Ipang is certainly amazing as well, so I'm not detracting from that at all.
+ 3
Hussein Adams,
Yes, I understand, as a matter of fact I'm a little disappointed at how there is currently no simple guide shown to new users until one pass the Content Creation Guidelines to have them be aware of how things are supposed to be done in the right way, this will need to change in the future.
https://www.sololearn.com/discuss/321242/?ref=app
Nope, I am far from advanced, I assure you as your journey here goes, you shall find plenty others are so much better. Anyways, how can I help you?
+ 3
@ Ipang
Agreed completely. There is still much that should be done to SoloLearn in the long run. Hard to expect certain things from the community if you don't properly present the information or guide them toward what they should be doing. It's even worse on the Web/Website version of SL.
+ 3
@Jinkazama
You're more than welcome bro. If you run into further issues, feel free to post up your questions in the Q&A. We're more than happy to help out those that are learning here. Don't hesitate to ask us!
Best of luck to you bro!
+ 2
Are you asking for a way to connect/communicate with experienced tutor, or are you having problem with how the input for code works, your question title and description doesn't match, and the tags are also irrelevant. Please clarify your intention.
+ 2
@Ipang
Am kinda new here...so don't blame me for my miss deeds...I will be glad if u can put me through..cos I notice you are kinda advanced in this
+ 2
kk...@ Ipang
+ 1
There can be multiple ways where you can find help. Many schools or bootcamps that would love to help out in any way but that may require making some connections. other ways are online tutorials that can help you solve your problem. Or you can attend meet ups and ask around for help which is generally easy to find
+ 1
okk...let's start from "string concatenate" can u expantiate more on that..cos it seems I can't phantom anything from it
+ 1
okk...let's take a look at "System.......(myString.... did you simply ignored the (") or it's not compulsory
+ 1
kk dude... thanks
+ 1
thanks
+ 1
you can try to browse maybe you can get some help