Static Keywords – Attributes (5)
{"Image DocumentName": "Static Keywords \u2013 Attributes (5)", "Image ImageDescription": "Jika atribut static tidak bersifat private, maka atribut tersebut dapat diakses dari kelas lain dengan tanpa membuat instance (objek) nya. public class TestCount { public static void main(String[] arg) { System.out.println( Counter : + Count.counter); Count obj1 = new Count(); System.out.println( Creating object1... ); System.out.println( Serial number : + obj1.getSerialNumber()); Count obj2 = new Count(); System.out.println( Creating object2... ); System.out.println( Serial number : + obj2.getSerialNumber()); }", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}