Skip to content
Advertisement

Tag: netbeans-12

Java print() not printing until println() NetBeans

I just installed NetBeans 12.6 today, and I’m having an issue with System.out.print() in the code I pasted below. For some reason, the print() in removeValue doesn’t print until the println() in the for loop in main. When I ran this code in BlueJ, everything worked fine. Is something wrong with my NetBeans or ?? Desired output would look something

Netbeans Check Regular Expression

Here is an example of a very simple method. We take “foo bar”, split, replaceAll, and print. NetBeans is claiming this is a problem and giving me a warning on split and replaceAll. I can’t seem to find a way to disable this via @annotation, and information about this issue is sparse on the ‘net. What is the intended effect

Advertisement