日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

无聊的面试题

發布時間:2024/4/15 编程问答 30 豆豆
生活随笔 收集整理的這篇文章主要介紹了 无聊的面试题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

2018-09-12

System.out.println("hello" + 1 + 2);//輸出hello12

System.out.println(1 + 2 +"hello");//輸出3hello

String s = "a" + "b" + "c" + "d" + "e"; 問此語句共創建了幾個對象,?http://blog.csdn.net/java2000_net/article/details/3681385

public class Main2 {public static void main(String[] args) {Student s = new Student();}public static class Student{public Student(){System.out.println("Student build");}{System.out.println("Student 。。。");}static{System.out.println("Student static");}} }

輸出結果是:

Student static
Student 。。。
Student build

OGNL表達式

<%@ taglib uri="/struts-tags" prefix="s" %><s:property value="name" /> 或 ?<s:property value="stu.name" />

?EL表達式

?${stu.name}?

2018-09-13

事務的四大特性:原子性,一致性,隔離性,持久性。

2018-09-14

MySQL的四種隔離級別:串行化、可重復讀、讀已提交、讀未提交。

2018-09-25

jsp九對象:

與servlet有關:page、config

與Input/Output有關:out、request、response

與Context上下文有關:application、session、pageContext

與Error有關:exception

2018-09-28

Java 虛擬機不僅要看類的全名是否相同,還要看加載此類的類加載器是否一樣。只有兩者都相同的情況,才認為兩個類是相同的。即便是同樣的字節代碼,被不同的類加載器加載之后所得到的類,也是不同的。

?查詢學科前2名的sql? ?博客來源

select * from StudentGrade t
where (select count(1) from StudentGrade where subid=t.subid and grade>t.grade)<=1
order by subId,grade desc

?

轉載于:https://www.cnblogs.com/angelshelter/p/9632543.html

總結

以上是生活随笔為你收集整理的无聊的面试题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。