Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(obj1.field1 == 0 && obj1.field2 == 0 && obj2.field1 == 0 && obj2.field2 == 0){
- ///////scenario 1 logic
- }
- if(scenario 2 conditions){
- /////scenario 2
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement