为什么我在默认方法中调用了静态方法,可是我在实现类中调用默认方法时静态方法并没有被调用?
老师,我jar包可以打开,但这个不行,为什么啊
sentinel跑起来了,微服务配置文件也改了,但是sentinel监控不到微服务
最开始代码运行正常 然后安装了idea破解之后就运行不了
老师,那意思就是说list的用法set接口也能有是吗?
import Java.util.Scanner; public class SalaryCalculator { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("******我的薪水计算器******"); System.out.println("1.输入88,退出程序\n2.输入66,计算下一个年薪"); while (true) { System.out.println("请输入月薪:"); int monthSalary = s.nextInt(); System.out.println("请输入一年几个月薪资:"); int months = s.nextInt(); int yearSalary = monthSalary * months; System.out.println("年薪是: " + yearSalary); if (yearSalary >= 200000) { System.out.println("恭喜你超越98%的国人"); }else if (yearSalary >= 100000) { System.out.println("恭喜你超越90%的国人"); } System.out.println("输入88,退出系统;输入66,继续计算。"); int comm = s.nectInt(); if (comm == 88) { System.out.println("系统退出!"); break; } if (comm == 66) { System.out.println("继续计算下一个薪资"); continue; } } } } }
老师,请问我这是什么问题呢
老师为啥我这个和视频里面 的不一样,不是说应该会报错吗,ename应该没法显示的,因为没法代表一整个部门呀(上面的图是视频里面的,下面的图是我自己的代码)
老师,那个 my_method方法说明信息两边的点点点符号怎么打出来的?
显示am是加个a,显示pm加个p不对呀,怎么写pm
这节课的 list-style-image 那个图片太大了,能靠写代码调整图片大小么
list{
list-style-image: url(" a.jpg");
}
发现引用的a.jpg太大了
""" 如何开启flask项目的debug模式 """ from flask import Flask app = Flask(__name__) @app.route('/') def hello_world(): a=1 b=0 c=a/b return 'Hello World!' if __name__ == '__main__': app.run(debug=True) #开启flask项目的debug模式
老师 我的这个debug一直打不开
import requests from fake_useragent import UserAgent url = "http://www.baidu.com" import os def get_header(): location = os.getcwd() + '/fake_useragent.json' ua = UserAgent(path=location) return ua.random params = { "wd":"快代理" } resp = requests.get(url,params=params,headers = {"User-Agent":get_header()}) resp.encoding = "utf-8" print(resp.text)
老师,视频中代码跑完后,在run结果中搜索能搜到快代理,我的结果跑出来,搜快代理都不到,那为啥没报错呢
这个是接收什么
老师,这个短信验证还需要特地注册一个第三方平台账号吗?
老师还有一个问题,我改端口号怎么没反应。还是5000
非常抱歉给您带来不好的体验!为了更深入的了解您的学习情况以及遇到的问题,您可以直接拨打投诉热线:
我们将在第一时间处理好您的问题!
关于
课程分类
百战程序员微信公众号
百战程序员微信小程序
©2014-2025百战汇智(北京)科技有限公司 All Rights Reserved 北京亦庄经济开发区科创十四街 赛蒂国际工业园网站维护:百战汇智(北京)科技有限公司 京公网安备 11011402011233号 京ICP备18060230号-3 营业执照 经营许可证:京B2-20212637