@derekxec and @aussiemcgr i agree with you.
class names are started with capital letters. but, most probably a bigger problem is that "main" is a JAVA reserved keyword. It is better not to use it...
Type: Posts; User: KaustavBanerjee
@derekxec and @aussiemcgr i agree with you.
class names are started with capital letters. but, most probably a bigger problem is that "main" is a JAVA reserved keyword. It is better not to use it...
Hello @GoPredsGo,
Actually your code is not wrong. But, both your member functions are having the same name, same return type, and same parameter list. So, the method overloading part isn't...
You could also do this change to your original code. I think this was what you wanted
grade = determineGrade(calcAverage(a,b,c,d,e));
moreover,
Your syntax in the method public static...
--Code removed for the second time.
--Do not post it again
This'll work
-Code removed-
If you are using String and not character arrays, you can use the Java built in function strcmp or even a conditional statement with the == operator.
Just get the input with Buffered reader class...
If you are a beginner, you can try out some basic level books on OOP and object-class model.
Just as you start, keep in touch with another very useful book.
This book has been one of my best...
hello guys :cool: