i am having 4 code num, each code extracting some fields.
one time we are getting one code only, base on that code we will extract the particular code felids.
for ex
code num1-- name
age
gender
code num2–name
sure name
class
age
code num3–name
age
college
…
In code num1 – if any one of the field(name or age …) is missing we should throw an exception. same for each and every code.
what will be the logic here can any one help me.
how build this sequence.
Hi @meeraa , I’m sure you could find a way to fit it into one line of code, but having 5 to 6 If statements with clear exception messages will be the quickest to develop and the most straightforward for other developers to understand