java代码034

code034.jsp

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page对象各方法的应用</title>
</head>
<body>
<%!
     Object object1;
%>
<ul>
<li>getClass():<%= page.getClass() %></li>
<li>hashCode:<%= page.hashCode()%></li>
<li>toString():<%= page.toString() %></li>
<li>与object对象比较:<%= page.equals(object1) %></li>
<li>与this对象比较:<%= page.equals(this) %></li>
</ul>
</body>
</html>

评论

h
hw_7864

⭐️ Admin快速开发: https://show.cool-admin.com/

赞 0
h
hw_7864

⭐️ 官方文档: https://cool-js.com

赞 0
h
hw_7864

⭐️ chatgpt在线体验: https://cool-js.com/ai/chat-vip/index.html?r=helloworld

赞 0