NetBeans offers a wide array of features that make Java and Java EE development easier and faster. In the following few sections, we cover some of the most useful features.
The NetBeans code editor includes a very good code completion feature, for example, if we wish to create a private variable, we don't need to type the whole
private word, we can simply write the first three letters (
pri), then hit Ctrl + Space and NetBeans will complete the word
private for us.
Code completion also works for variable types and method return values, for example, if we want to declare a variable of type
java.util.List, we simply need to type the first few characters of the type, then hit Ctrl + Space NetBeans ...