What is this, i remember somewhere before it was mentioned chaining NOT ALLOWED
a=b=c type codes not allowed
Them how you changed this phenomenon here
About Question enthuware.ocajp.i.v7.2.1061 :
Moderators: Site Manager, fjwalraven
-
- Posts: 1
- Joined: Wed May 08, 2013 1:25 pm
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1061 :
It is allowed. Where did you read that it is not allowed?
-Paul.
-Paul.
-
- Posts: 18
- Joined: Mon Jan 13, 2014 5:39 am
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1061 :
OPs confusion probably lies in the fact that your question bank includes a similar question where it states that Java does not allowing chained initialization.
The initialization distinction is an important distinction that is left out of the explanation here.
The initialization distinction is an important distinction that is left out of the explanation here.
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1061 :
The explanation has now been enhanced to make it clear.
thank you for your feedback!
Paull.
thank you for your feedback!
Paull.
Who is online
Users browsing this forum: No registered users and 10 guests