- 2
How can i solve this one
We are creating our own application for taking screenshots. It has an option to set a name for screenshot-file to be saved. If user doesn't insert a name for it while saving, program automatically sets "Screenshot" name for it. Given program should create and save two screenshots: one with default name and one with name given by user. But something goes wrong. Fix the program by completing two constructors, so that given outputs works correctly. Sample Input Desktop Sample Output Screenshot Desktop
1 Answer
+ 2
Ranjay Kumar
Make 2 constructor 1 with default value and 2nd with user input.
Finally call both constructor