class A{ int f1; String f2; } class B{ A field1; String field2; } class C{ B fieldB; A fieldA; int field3; }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter