7.다음 JSP 소스에서 비어있는 밑줄 부분을 완성하시오.
<%@ page language="java" contentType="text/html; charset=EUC-KR"
pageEncoding="EUC-KR"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="EUC-KR">
<title>Insert title here</title>
</head>
<body>
지금 시간은 :
<%
out.print(new _________________________);
%>
</body>
</html>
저거 한줄로 가능함??
Date today = new Date();
out.println(today);
이렇게 두줄은 되야 하는거 안님?
out.print가 출력이잖워
OOP충 ㅋ
import도 없는데 new java.util.Date() 써야지 꼭 두줄로 안써도 되는데
나 이해가 안돼 프린트 문 안에 new 쓸수잇음?
당연히 쓸수있지 왜 안된다 생각함?