Spring Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Guidewire Associate Certification - InsuranceSuite Developer - Mammoth Proctored Exam InsuranceSuite-Developer Question # 14 Topic 2 Discussion

Guidewire Associate Certification - InsuranceSuite Developer - Mammoth Proctored Exam InsuranceSuite-Developer Question # 14 Topic 2 Discussion

InsuranceSuite-Developer Exam Topic 2 Question 14 Discussion:
Question #: 14
Topic #: 2

Given this function:

Code snippet

929 public function checkConnection() {

930 try

931 {

932 var conn = DriverManager.getConnection(url)

933 // logic here

934 }

935 catch (e : Exception)

936 {

937 // handle exception

938 }

939 }

What action will align the function with Gosu best practices?


A.

Move left curly braces on lines 931, 934, and 936 to the end of the previous lines


B.

Change line 935 to read 'catch {e: Exception)'


C.

In line 933, change DriverManager to driver Manager (camel case)


D.

Add a comment for lines with significant code (specifically, lines 933 and 937)


Get Premium InsuranceSuite-Developer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.