Question: Java help im trying to make dvmanager a function what am i doning wrong i want to add it into main where would i insert


Inpost Jww. eel, Connection: inportjeva.eet. 14 of 14 a - Eauthor mars publle class behatage t publle sentle vold conect ot prtpate statle connection connections pxtrate statse vold exteonnection (I) cy t Craps.zorthes ("0rg.postereaqh. Drtver"), , eatech isorateeptios e) coprintseatrites (i) 1 ) Dublie otatie conaection esteonacetion(i) 12 (connection - nuly) etrconaection (i): 1 zeturn connection, 1 ) rueratexido eartiol 1 i (f) anoerex) otron rasep/ ifres acranes to toereng arodi int count - atat, exsecuterpdate (ingort)? Syatex.out,printin (eount + " of reconds have been added") t Scaneer sean = ner Seanher ( Syaten, in) z Syatea, out,printin (Fenter custeaser idt %), string cestonorid - sean.nextsino Oz String select - "szuscr + mev Custaner", seateaent selectstat = connection. ereateseatenent (O) Resultset xp - selectStat, executeQuery (eoloct), while (ranext (0) i 1 Syaten. Out, prinein (-Connectedt), 1 e. pinteretressoy 3 casch (bortaception e) t e.potntseneternses; 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
