No Image

Nesting with Java interfaces

20 2 月, 2020 InfoWorld Java Tips 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this Java tip, you’ll learn three common ways to use nesting techniques with Jav…

No Image

Avoid memory leaks in inner classes

20 2 月, 2020 InfoWorld Java Tips 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this associated tip, I’ll walk you through one of the pitfalls of nesting classe…

No Image

Static classes and inner classes in Java

20 2 月, 2020 Jeff Friesen 0

Nested classes are classes that are declared as members of other classes or scopes. Nesting classes is one way to better organize your code. For example, say you have a non-nested class (also known as a top-level class) that stores objects in a resi…

No Image

Avoid memory leaks in inner classes

20 2 月, 2020 Jeff Friesen 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this associated tip, I’ll walk you through one of the pitfalls of nesting classe…

No Image

Nesting with Java interfaces

20 2 月, 2020 Jeff Friesen 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this Java tip, you’ll learn three common ways to use nesting techniques with Jav…

No Image

Avoid memory leaks in inner classes

20 2 月, 2020 Jeff Friesen 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this associated tip, I’ll walk you through one of the pitfalls of nesting classe…

No Image

Nesting with Java interfaces

20 2 月, 2020 Jeff Friesen 0

If you’ve read my Java 101 tutorial introducing static classes and inner classes, you should be familiar with the basics of working with nested classes in Java code. In this Java tip, you’ll learn three common ways to use nesting techniques with Jav…

No Image

Static classes and inner classes in Java

20 2 月, 2020 Jeff Friesen 0

Nested classes are classes that are declared as members of other classes or scopes. Nesting classes is one way to better organize your code. For example, say you have a non-nested class (also known as a top-level class) that stores objects in a resi…