[HD Pg 0, Sec. 10.5.3 - accessing-static-members-from-the-same-class]

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
agatha
Posts: 4
Joined: Tue Nov 19, 2019 7:01 pm
Contact:

[HD Pg 0, Sec. 10.5.3 - accessing-static-members-from-the-same-class]

Post by agatha »

cannot do System.out.println(Foo.printCount()+...) as Foo.printCount() return null

admin
Site Admin
Posts: 10058
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: [HD Pg 0, Sec. 10.5.3 - accessing-static-members-from-the-same-class]

Post by admin »

Please post complete code that you are trying to compile and run.
I don't see Foo.printCount anywhere in the book.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 77 guests