Hi all fairly new to programming just been using MatLab with uni course and would be well up for learning some more.
1 years worth of java behind my belt. Willing to do whatever I can to help/self-improve
System.out.println("Reporting in");
class apez{
private String in = "Reporting in";
public String ishein(String in){
if(in == "Reporting in"){
System.out,println(" oh yeah he's in!");
}else{
{
System.out,println("Fail");
}
}
2bit signed up as official debuggers![]()
Sorry mate - didn't mean to be pedantic - like your idea very much.
Yes - I'll be official debugger and code grammar pedant if you like!
I'm busy (ish) atm, but happy to report in as well![]()
Parenthesis don't match.
He's stuck comma's in there too instead of full stops.
You should also use:
in.equals("Reporting in");
for the boolean equality.