摘要: 无法编译 原因:没有默认构造 推出结论:当你给类提供了一个自定义的构造方法,导致系统不在提供默认构造方法了,需要自己提供 初始化 测试 package org.example; public class InitializeBlockClass { public int field=100; { f 阅读全文
posted @ 2023-09-20 12:36 许七安gyg 阅读(6) 评论(0) 推荐(0) 编辑
$(document).ready(function() { // 禁止右键 $(document).bind("contextmenu", function(){return false;}); // 禁止选择 $(document).bind("selectstart", function(){return false;}); // 禁止Ctrl+C 和Ctrl+A $(document).keydown(function(event) { if ((event.ctrlKey&&event.which==67) || (event.ctrlKey&&event.which==86)) { //alert("对不起,版权所有,禁止复制"); return false; } }); });