问题:发现了一个bug,这个全局变量也是个摆设而已,我虽然在模块中写了__all__=[],但是我在测试文件中只要把导入模块一一列出来,照样可以调用的,没有问题。
>>>a=“axt”
>>>print(a)
axt
>>>a
‘axt’
直接敲a输出 为什么和print(a)不一致
为什么只有嗡嗡的声音,听不到老师讲课的声音
老师图片输出的位置没给定默认输出到idea的本项目中吗
老师 我记得之前配置springcache+redis好像没有这么麻烦吧,这个配置和以前配置有什么区别吗???
老师,报错信息是找不到beans是怎么回事呢?
****************可迭代的含义是什么
老师我没有群老师我没有群老师我没有群老师我没有群
我这个错在哪,很离谱看不懂了
老师,为什么输入两个负数后,程序就结束了?
握手失败了,什么情况...........
提醒下各位,为了方便时间节省精力,一定去百度网盘下载jdk。
-Oracle官网只能下载12代,8代需要注册账号。
-12代只有jdk,无jre。
-百度网盘虽然慢,但是直截了当,省事。
-苹果电脑的,最好还是换系统吧,就算去看百度经验啥的出错的概率及其高而且到时候有问题,没人能帮你解决的。
老师,这是哪里出现问题了?我实在找不出来.。。
com.bzcxy.logincom.bzcxy.jdbc.JDBCUtilsjava.io.IOExceptionjava.lang.reflect.Fieldjava.sql.*java.util.*Login_Test { (String[] args) ClassNotFoundExceptionSQLExceptionIOExceptionIllegalAccessExceptionNoSuchFieldException { Map<StringString> userLoginInfo = ()System..println((userLoginInfo)?:)} Map<StringString> (){ Scanner sc = Scanner(System.)System..println()String account = sc.next()System..println()String password = sc.next()Map<StringString> userLoginInfo = HashMap<>()userLoginInfo.put(account)userLoginInfo.put(password)userLoginInfo} List<Account> (String sqlObject...args) SQLExceptionIOExceptionClassNotFoundExceptionNoSuchFieldExceptionIllegalAccessException { List<Account> accounts = ArrayList<>()Connection conn = JDBCUtils.()PreparedStatement ps = conn.prepareStatement(sql)(i=i<args.i++){ ps.setObject(i+args[i])} ResultSet rs = ps.executeQuery()ResultSetMetaData rsmd = rs.getMetaData()columncount = rsmd.getColumnCount()(rs.next()){ Account account = Account()(i=i<columncounti++){ Object columnValue = rs.getObject(i+)String columnName = rsmd.getColumnName(i+)Field field = account.getClass().getDeclaredField(columnName)field.setAccessible()field.set(accountcolumnValue)} accounts.add(account)} rs.close()JDBCUtils.(connps)accounts} (Map<StringString> userLoginInfo) ClassNotFoundExceptionSQLExceptionNoSuchFieldExceptionIllegalAccessExceptionIOException { String sql = List<Account> accounts = (sqluserLoginInfo.get()userLoginInfo.get())(accounts.size() == ){ } } }
com.bzcxy.loginAccount { Integer String String String Integer () { } (Integer userid) { .= userid} String () { } (String useraccound) { .= useraccound} String () { } (String username) { .= username} String () { } (String userpassword) { .= userpassword} }
user=rootpassword=GO898611url=jdbc:mysql://localhost:3306/baizhan?useSSL=falsedriverClass=com.mysql.jdbc.Driver
老师,这个直接在img标签里面放图片的网址为什么显示不出来呀?
为什么我照着打的代码,却变成红色了?但是测试的数据一样。
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637