I figured out what I was doing wrong. I have declared an instance variable, but have the same variable defined in a method. Simple fix.
Type: Posts; User: slinky29
I figured out what I was doing wrong. I have declared an instance variable, but have the same variable defined in a method. Simple fix.
i've tried some things out, but still get the same errors:
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Writer.java:157)
at...
I'm new to Java, and have been stuck on this project for days. I've exhausted as much time as I'd like, and am now admitting defeat. Would someone who is vastly superior than I give my code a...