Where should we place the code to avoid runtime error?
Select one:
a. All of the choices
b. try block
c. finally block
d. catch block
Which of the following is the correct syntax to define amethod?
Select one:
a. <modifier> package <packageName>;
b. <packageName>;
c. <packageName> package;
d. package <packageName>;
We can only create one object from a class.
Select one:
True
False
Which of the following scenarios where an exception mayoccur?
Select one:
a. A user has entered an invalid data.
b. All of the choices
c. A file that needs to be opened cannot be found.
d. A network connection has been lost in the middle ofcommunications or the JVM has run out of memory
Write true if the
PayPal Gateway not configured
PayPal Gateway not configured