下载此文档

石化盈科笔试题.docx


文档分类:生活休闲 | 页数:约7页 举报非法文档有奖
1/7
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/7 下载此文档
文档列表 文档介绍
石化盈科笔试题.docx石化盈科笔试题
石化盈科笔试题
1 / 71
石化盈科笔试题
石化盈科笔试题
.
public class Encapsulation{
class ClassValue{
public in
*/
public static

void

main(String[]args){
石化盈科笔试题
石化盈科笔试题
7 / 77
石化盈科笔试题
Aa=
newB();
if
(a
instanceof
A){
System.
out
.println(
"A"
);
}
if
(a
instanceof
B){
System.
out
.println(
"B"
);
}
}
}
石化盈科笔试题
石化盈科笔试题
7 / 77
石化盈科笔试题

public class Polymorphic{
/**
***@paramargs
*/
public static void main(String[]args){
TODOAuto-generatedmethodstub
Parentpare= newSub();
();
石化盈科笔试题
石化盈科笔试题
11 / 711
石化盈科笔试题
}
}
class Parent{
public void show(){
System. ( "class Parentshow" );
}
}
class Sub extends Parent{
public void show(){
System. ( "classSubshow" );
}
}

public class tryCatch{
/**
***@paramargs
*/
public static void main(String[]args){
try {
System. ( "begin" );
System. ( "end" );
return ;
} catch (Exceptione){
System. ( "excepton" );
} finally {
System. ( "finally" );
}
石化盈科笔试题
石化盈科笔试题
12 / 712
石化盈科笔试题
}
石化盈科笔试题
石化盈科笔试题
7 / 77
石化盈科笔试题
}

public class MySort{
public static void main(String[]args){
MySortsort= newMySort();
int []arr= new int []{3,22,11,5,400,99,20,22,5};
(arr);
for (int i:arr){
System. (i+

石化盈科笔试题 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数7
  • 收藏数0 收藏
  • 顶次数0
  • 上传人万家乐书屋
  • 文件大小17 KB
  • 时间2022-01-23