Comment by CodingBat on Write a method that takes a string of curly brackets...
@musefan yup, realized that just now and fixed it haha
View ArticleComment by CodingBat on Write a method that takes a string of curly brackets...
Okay, makes sense but I do not understand how it also works for cases like }}{{ ? Thank you
View ArticleComment by CodingBat on Product Method Overloading
Thank you so much, I just did not get the concept of method overloading even after reading and watching youtube vids. Have a good day!
View ArticleComment by CodingBat on Product Method Overloading
@cdadiga Yes, I have done research and I still could not understand and I have spent time coding but it kept showing me error msg so I just decided to reset the code as it will be easy for you guys to...
View ArticleComment by CodingBat on Product Method Overloading( It is the same person...
So basically, if I want to overload int product1 = product(intValue, intValue); , I would have to write int product 1 = product (doubleValue,doubleValue)??
View ArticleComment by CodingBat on Product Method Overloading( It is the same person...
okay so I now get the idea what the method overloading is, but I just cannot find what the problem is with my coding.. Can you give me one example? Thank you
View ArticleComment by CodingBat on Clothing Store Lesson from CodeHS
@HovercraftFullOfEels yup, got it. This was my first time answering so I did not keep that in mind. Sorry and thanks for pointing it out
View ArticleProduct Method Overloading( It is the same person that asked last time)...
I was working on this problem and could not do it and was not sure if I even understood what method overloading really is. Can anyone explain what it is (since the resources I found online were not...
View ArticlecoinFlip then find the longest streak of the heads - Java
I was working on this codeHS AP CompSci problem (4.3.6)Basically I have to simulate flipping a coin 100 times, printing out the result (heads or tails) but in the end I need to print out the longest...
View Article