Question: what the output Nofx and y are objects, what will be the valne of x.getData() after executing the following code: Nodex new Node(5) x.setData(6), Node
Nofx and y are objects, what will be the valne of x.getData() after executing the following code: Nodex new Node(5) x.setData(6), Node y new Node(10), xy y.setDate(11), a) 5 b) 6 c) 10 d) 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
