Exemplo (cont.) public void conecta(){ try{
{"Image DocumentName": "Exemplo (cont.) public void conecta(){ try{", "Image ImageDescription": "// carrega o driver da ponte jdbc-odbc. Class.forName(driver); // abre conexao com o banco de dados. conexao=DriverManager.getConnection(url); System.out.println( Conex\u00e3o executada com sucesso ); } catch(SQLException SqlExc){ System.out.println( Erro de SQL! ); catch(ClassNotFoundException exc){ System.out.println( Classe n\u00e3o encontrada! );", "Image XResolution": "37", "Image YResolution": "37", "Image ResolutionUnit": "Pixels/Centimeter", "Image Software": "SlidePlayer", "Image YCbCrPositioning": "Centered"}