[HD Pg 0, Sec. 10.5.3 - accessing-static-members-from-the-same-class]
Moderator: admin
-
- 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]
cannot do System.out.println(Foo.printCount()+...) as Foo.printCount() return null
-
- Site Admin
- Posts: 10065
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: [HD Pg 0, Sec. 10.5.3 - accessing-static-members-from-the-same-class]
Please post complete code that you are trying to compile and run.
I don't see Foo.printCount anywhere in the book.
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.
Who is online
Users browsing this forum: Bing [Bot] and 97 guests