I am Noob Looking for Experts for their suggestion and Ideas
Saad Zahoor wrote:Question : What is the function of this line of code .. Anyone please Explain it
Saad Zahoor wrote:Question : What is the function of this line of code .. Anyone please Explain it
I am Noob Looking for Experts for their suggestion and Ideas
Saad Zahoor wrote:Question : why this line give Error while number is int
I am Noob Looking for Experts for their suggestion and Ideas
Your contribution is very welcome. We all do mistakes from time to time (some of us more often) and give a bit misleading advice or not quite correct so to speak, but we don't do that on purpose, in one or another way we all learning - some learning how to teach, some just learning, some doing other stuff behind the scenes.Daniel Andres wrote:
Also, I am not an expert at explaining certain things in java even if I believe I know how they work but I also like to help. I can contribute with an answer that might help someone out every now and then!
Is this allowed or should we only help as long as we are a 100% sure that what we are saying is correct?
Daniel Andres wrote:It gives an error because the equals() and equalsIgnoreCase() are methods from the class String. Int is it a string. Therefore you should use == to check whether it is equal to another number.
I am Noob Looking for Experts for their suggestion and Ideas
Liutauras Vilda wrote:
Your contribution is very welcome. We all do mistakes from time to time (some of us more often) and give a bit misleading advice or not quite correct so to speak, but we don't do that on purpose, in one or another way we all learning - some learning how to teach, some just learning, some doing other stuff behind the scenes.Daniel Andres wrote:
Luckily here are tons of well experienced guys, so be assure you'll be corrected once you slip over the mechanics.
I am Noob Looking for Experts for their suggestion and Ideas
Daniel Andres wrote:
Line 24 is adding the numbers only. If your first number is 95 can you see where your next number goes when you enter the while loop?
I am Noob Looking for Experts for their suggestion and Ideas
I am Noob Looking for Experts for their suggestion and Ideas
Only if one is really a bull and you wait a bit...Daniel Andres wrote:Another cow? Would 2 cows constitute officially as a herd? . . .
Don't get me started about those stupid light bulbs. |