News
Learn how to convert between primitive and reference types in Java using autoboxing and unboxing, and what are the advantages and disadvantages of these features.
Along with lambdas, Java SE 8 brought method references to the Java language. This tutorial offers a brief overview of method references in Java, then gets you started using them with Java code ...
Get a deep dive into using method references in your Java programs, including stream operations, event listeners, and constructors and factories.
Depending on how objects are garbage collected, referencs are grouped into 4 types: Strong, Soft, Weak, Phantom References.
These type of references we use daily while writing Java code. Any object in the memory which has active strong reference is not eligible for garbage collection.
Java naming conventions for variables, methods and reference types are where things get a little more complicated. For example, you can start a Java variable with a dollar sign or an underscore -- but ...
This chapter presents the basic structure of Java classes, variables, and data types, along with the aspects of each that you need to know for the exam. Java applications contain two types of data: ...
What's the difference between an Integer and int in Java? Here we compare these two Java data types for usage, performance and when to choose an int or an Integer in your code.
Results that may be inaccessible to you are currently showing.
Hide inaccessible results