No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Heya, still rather new to programming, I'm having trouble understanding NullPointerException. The code below throws NullPointerException at rows 30 and 92. I do not quite understand why (as I understand it row 30 won't be run before the objects are created)? Any help would be appreciated!! [CODE]public class Uppg5_OH { … |
|
Hello! I'm new to this site and fairly new to Java, I've tried creating a program that takes a file as input and edits specific substrings in said file, compiles without problems but the file remains unchanged. [CODE] import java.io.*; public class Uppg10_OH { static class MinHistoria { private String … |