This comment has received too many negative votesshow
you are damn irritating man..you really waste time between talking useless stuff..imagine if some1 has to watch 5-6 tutorials u'll eat up more than a hr coz of the rubbish u talk in between..u can easily decrease the time of ur video if u stop ur nonsense in between.
public class FUN { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String t = scan.nextLine(); String c = scan.nextLine(); System.out.println(t + c); }
Thanks Bucky. How do you alter the case of the first letter of the string if you don't know what it is? I cant get s.toUpperCase(); to accept an index number. 8-\
@jazzninja77 Hey, not sure if you still care but he was putting b.toUpperCase() caus "b" is the name of the string variable, not because he was refering to the letter "b"
i learned 2 new things after watching the first and second intermediate tutorial after taking 2 semesters of computer programing. guess i can learn more on youtube than school...GOOD work!
Bucky, your tutorials are carrying me through my online class...Thanks! I can't believe I found this, but there is one error in your tutorial. When you add the second value to the indexOf(), that is the starting point. If the character that you are searching for is in that starting index, it will find it.
@preetham999 - try this -> String str = "abcaghagftaght"; int i = 0; int counter = 0; char letter = 'a'; while(i != -1){ i = str.indexOf(letter, ++i); counter++; System.out.println(letter + "was found at position " + i); } System.out.println(letter + " was found " + counter + " times");
...sorry had one error - that i has once the wrong position, still code does tell you the amount - so its obvious how to do it - with arrays its basically the same - just go through the array
the tags say beginner...I feel offended, I am INTERMEDIATE and deserved to watch videos labeled as such
Frogfish999 7 hours ago in playlist Java (Intermediate) Tutorials
Cant focus because Im looking at the next tut, it has a cool thumbnail.
MarkVizcarra 2 weeks ago in playlist Java (Intermediate) Tutorials 3
U can C ,that my little monster now turned to the big MONSTER ;))
dima4u5 2 weeks ago in playlist Java (Intermediate) Tutorials
nice tutorils
archfiend02 1 month ago
Lol, you're such a boy, with your bacon monster. :) Anyway, love it, keep em coming
MyMostPaintedWord 2 months ago in playlist Intermediate Java Tutorials
can you please explain how to change the first letter to uppercase and the rest of the word to lower case please
ctik 4 months ago
Comment removed
The4ltair 4 months ago
@ctik this would be one way to do it (some beginner code)
public static String firstUpperCase(String string) { return string.substring(0, 1).toUpperCase() + string.substring(1, string.length()); }
The4ltair 4 months ago
Comment removed
spike160791 4 months ago
Comment removed
spike160791 4 months ago
you really love bacon huh?!
burnah10 5 months ago
This comment has received too many negative votes show
you are damn irritating man..you really waste time between talking useless stuff..imagine if some1 has to watch 5-6 tutorials u'll eat up more than a hr coz of the rubbish u talk in between..u can easily decrease the time of ur video if u stop ur nonsense in between.
MsCanarybird 6 months ago
@MsCanarybird Shut up and leave then.
CODtheater 6 months ago
@MsCanarybird He is an amazing teacher, So fuck up.
ThundurusWalkthrough 5 months ago
@MsCanarybird well f*** u too
xero907 5 months ago
Yay i love Java
DazKins 6 months ago
7:23; That's what he said.
ajtracy300 6 months ago
is this easy or does it looks easy cause bucky teaches it??
timboiscool 6 months ago 2
@timboiscool It's easy, and plus Bucky is a good teacher.
CODtheater 6 months ago
@timboiscool Are you Tim Bovenizer?
RynoFb 3 months ago
@RynoFb No :p
timboiscool 3 months ago
@RynoFb
No he's Greg Roberts :p
ranger296 2 months ago in playlist Intermediate Java Tutorials
Thanks to you from Chile!!
Mr850man 6 months ago
Stringception anyone?
qbblast 7 months ago
I ALSO would like to know how to change the first character to upper case, even though we all apparently know how to do it already >.< haha
MisterM2402 7 months ago
Note to bucky, please name your variables more like bacon, as that is how Jesus wants it
Bananapoopman 7 months ago
i went one better bucky :)
import java.util.*;
public class FUN { public static void main(String[] args){ Scanner scan = new Scanner(System.in); String t = scan.nextLine(); String c = scan.nextLine(); System.out.println(t + c); }
}
skullking42 8 months ago
at least he keeps it real when he says he declares a lot of variables as bacon
danimoth2 8 months ago 2
how do we change the first character of the string to uppercase? I mean is there a way of doing it with toUpperCase() or something?
lalitmali 9 months ago
1 person is mad
MrPriyantgupta 10 months ago
i alrdy love you bucky!
Shattered209 11 months ago
how do you make a program for palindromes???????
suteerth12 1 year ago
Thanks Bucky. How do you alter the case of the first letter of the string if you don't know what it is? I cant get s.toUpperCase(); to accept an index number. 8-\
jazzninja77 1 year ago
@jazzninja77 Hey, not sure if you still care but he was putting b.toUpperCase() caus "b" is the name of the string variable, not because he was refering to the letter "b"
jynxgizmo 10 months ago
With all respect, bucky,
according to the Java API -> indexOf(int ch, int fromIndex)
at 2.12, it's gonna start searching from 'r' not 'o'
awesome tutorial, anyway
kitiyavsn 1 year ago
thanks bucky your a savior need to tell my classmates. this is the best
TheDororo1983 1 year ago
is there any tutorial for mysql connectivity and getting result
rssonorth 1 year ago
i learned 2 new things after watching the first and second intermediate tutorial after taking 2 semesters of computer programing. guess i can learn more on youtube than school...GOOD work!
jackghawaii 1 year ago 2
9:01 but we already love you though :D
xxmannylee1992xx 1 year ago
what about String matching algorithm ,could you give some tutorial about it? please ..
gudone01 1 year ago
@gudone01 if(stringName.equals("what to match to")
eliteveteran 1 year ago
thanks Bucky !
computerscienceftw 1 year ago
love it
vishal6099 1 year ago
need help!
I am to write a program that will count the number of occurrences of each letter in a string the user inputs.How do I do that?
rhizjosh1124 1 year ago
@rhizjosh1124 Just asiggn the input to a string and use the methods explained in the video
ephix231 1 year ago
That is awesome. Thanks so much
metchandara 1 year ago
"You guys are gonna' love me."
We already do, bucky.
Fbiman93 1 year ago 2
what about a split method?
AsibTayeb 1 year ago
Thank you very much, indeed!
TTV5 1 year ago
Bucky, your tutorials are carrying me through my online class...Thanks! I can't believe I found this, but there is one error in your tutorial. When you add the second value to the indexOf(), that is the starting point. If the character that you are searching for is in that starting index, it will find it.
Deltasigzy13 1 year ago
what if i want to search a letter in a string array and print the number of times it has occured....plz temme
preetham9999 2 years ago
This has been flagged as spam show
specimon 2 years ago
...sorry had one error - that i has once the wrong position, still code does tell you the amount - so its obvious how to do it - with arrays its basically the same - just go through the array
specimon 2 years ago
Taco Monster ...!
relysaa 2 years ago
This comment has received too many negative votes show
this is kind of like CSS
brooklypark 2 years ago
Css isn't an OOP language, but the syntax is somewhat the same.
Andertraaks 2 years ago
I want you to sit and do more String methods :(.
Opsomaniac 2 years ago
Keep 'em coming =)
linkfan22 2 years ago 34
Awesome tutorial!
omgthissucks148 2 years ago 23