單項選擇題能夠修飾某個方法,同時表明被修飾的方法是用來重寫父類上的方法而使用的注解是()。

A.@Override
B.@Deprecated
C.@SuppressWarings
D.@FuncionalInterface


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題?給定Cookie userName,下面哪句代碼能向客戶機添加一個Cookie對象?()

A.response.setCookie(username);
B.request.addCookie(username);
C.response.addCookie(username);
D.request.setAttribute("Cookie",userName);

4.單項選擇題?數(shù)學(xué)類Math的全稱“java.lang.Math”中不包含()信息。

A.子包名
B.包名
C.超類名
D.類名

5.單項選擇題?掃描器類Scanner中輸入字符串?dāng)?shù)據(jù)的方法是()。

A.hasNext()
B.nextInt()
C.nextDouble()
D.next()