0

boolean removedlNodes = false;
what is the point setting this type boolean = false?


Nodes = Nodes | NodesWithText(text);
what does this " | " means here ?


thanks in advance

2
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Parsu7
0

boolean removedlNodes = false;
what is the point setting this type boolean = false?


Nodes = Nodes | NodesWithText(text);
what does this " | " means here ?


thanks in advance

the main point is that we are assigning the default value to the boolean variable removedNodes so that when the program executes and there are any removed nodes then this var will be set to true otherwise false.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.