NEVERMIND I FINALLY GOT IT!
Thanks so much for your help, it's gonna boost my grade up 5%!
Type: Posts; User: xxkronix
NEVERMIND I FINALLY GOT IT!
Thanks so much for your help, it's gonna boost my grade up 5%!
I've fixed some of the stuff and have this right now
public class Name
{
public static void main(String args[]){
String firstName = "Tim";
String lastName;
lastName = "Kleinknecht";
Ok I think I've gotten the second one correct.
The error for the first one is.
----jGRASP exec: javac -g Name.java
Name.java:3: cannot find symbol
symbol : class string
location: class Name...
I read that and put Class Name { in front of it and put a another bracket at the end and it didn't work. Maybe i'm just missing a step, I'm quite bad at this stuff.
The error for the first one says:
----jGRASP exec: javac -g Name.Java
error: Class names, 'Name.Java', are only accepted if annotation processing is explicitly requested
1 error
----jGRASP...
I have 1 error in both of these. It's an extra credit assignment. This is my first time coding with Java and I don't know what to fix because when I compile it, it says one error and it wont run.
...