程序运行网站:
https://www.jyshare.com/compile/10/
课堂任务:
1、请尝试比较字符串aacde与aAcde,思考输出结果;
2、请尝试求字符串Hello world!的长度;
课后作业:
Background: You need to write a program that determines whether a string is a "strong password." The conditions for a strong password are: the length must be at least 8, and it must not equal "password".
Requirements: Write a Java program named PasswordChecker that completes the following tasks in the main method:
· Create a string password with the value "Java2026!".
· Use the length() method to check whether the length is ≥ 8.
· Use the equals() method to check whether it is not equal to "password"
· Use the logical operator && to combine the two conditions .
· Output the password length and whether it is a strong password .
Expected Output:

作业提交方式:
如果是周末完成的,请提交代码截图至问卷星https://v.wjx.cn/vm/Yw7knKB.aspx#
如果是周天晚上,或者没有电脑的时候赶作业,请交纸质版!