⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 北京一家java开发公司面试题(留给后人) - mlovex的专栏.mht

📁 北京一家JAVA开发公司面试题 (留给后人) .mht文件
💻 MHT
📖 第 1 页 / 共 4 页
字号:
	FONT-SIZE: 14px; MARGIN: 0px 0px 4px
}
.post .postfoot {
	BORDER-TOP: #dddddd 1px solid; FONT-SIZE: 0.8em; MARGIN: 14px 0px 0px; =
COLOR: #aaaaaa
}
PRE {
	FONT-SIZE: 1em; MARGIN: 0px 0px 0px 22px
}
.Textbox {
	BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid; =
BORDER-LEFT: #aaaaaa 1px solid; WIDTH: 100%; BORDER-BOTTOM: #aaaaaa 1px =
solid
}
TEXTAREA {
	BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid; =
BORDER-LEFT: #aaaaaa 1px solid; WIDTH: 100%; BORDER-BOTTOM: #aaaaaa 1px =
solid
}
.button {
	BORDER-RIGHT: #aaaaaa 1px solid; BORDER-TOP: #aaaaaa 1px solid; =
BORDER-LEFT: #aaaaaa 1px solid; BORDER-BOTTOM: #aaaaaa 1px solid; =
BACKGROUND-COLOR: #ccd4e0
}
INPUT {
	FONT-SIZE: 10px; FONT-FAMILY: Verdana, Geneva, Arial, Sans-Serif
}
TEXTAREA {
	FONT-SIZE: 10px; FONT-FAMILY: Verdana, Geneva, Arial, Sans-Serif
}
.Framework {
	BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; =
BORDER-LEFT: black 1px solid; BORDER-BOTTOM: black 1px solid; =
BACKGROUND-COLOR: #eeeeee
}
.MainCell {
	PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 10px; =
VERTICAL-ALIGN: top; BORDER-LEFT: #dddddd 1px solid; PADDING-TOP: 10px; =
BORDER-BOTTOM: #dddddd 1px solid; BACKGROUND-COLOR: white
}
#LeftCell {
	VERTICAL-ALIGN: top; WIDTH: 200px
}
.FooterCell {
	VERTICAL-ALIGN: top
}
SPAN.highlight {
	BACKGROUND-COLOR: yellow
}

------=_NextPart_000_0000_01C5BFCB.F73FB160
Content-Type: text/css;
	charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Content-Location: http://blog.csdn.net/skins/AnotherEon001/print.css

BODY {
	FONT-SIZE: 12pt; BACKGROUND: white
}
#leftmenu {
	DISPLAY: none
}
#top {
	DISPLAY: none
}
#commentform {
	DISPLAY: none
}
#footer {
	DISPLAY: none
}
#LeftCell {
	DISPLAY: none
}
#main {
	BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: =
0px; BACKGROUND: none transparent scroll repeat 0% 0%; FLOAT: none! =
important; PADDING-BOTTOM: 0px; MARGIN: 0px 5%; BORDER-LEFT: 0px; WIDTH: =
auto; COLOR: black; PADDING-TOP: 0px; BORDER-BOTTOM: 0px
}
DIV#content {
	BORDER-TOP: #930 1px solid; MARGIN-LEFT: 10%; PADDING-TOP: 1em
}
A:link {
	FONT-WEIGHT: bold; BACKGROUND: none transparent scroll repeat 0% 0%; =
COLOR: #520; TEXT-DECORATION: underline
}
A:visited {
	FONT-WEIGHT: bold; BACKGROUND: none transparent scroll repeat 0% 0%; =
COLOR: #520; TEXT-DECORATION: underline
}

------=_NextPart_000_0000_01C5BFCB.F73FB160
Content-Type: application/octet-stream
Content-Transfer-Encoding: quoted-printable
Content-Location: http://blog.csdn.net/aspnet_client/system_web/1_1_4322/WebUIValidation.js

var Page_ValidationVer =3D "125";
var Page_IsValid =3D true;
var Page_BlockSubmit =3D false;
function ValidatorUpdateDisplay(val) {
    if (typeof(val.display) =3D=3D "string") {   =20
        if (val.display =3D=3D "None") {
            return;
        }
        if (val.display =3D=3D "Dynamic") {
            val.style.display =3D val.isvalid ? "none" : "inline";
            return;
        }
    }
    val.style.visibility =3D val.isvalid ? "hidden" : "visible";
}
function ValidatorUpdateIsValid() {
    var i;
    for (i =3D 0; i < Page_Validators.length; i++) {
        if (!Page_Validators[i].isvalid) {
            Page_IsValid =3D false;
            return;
        }
   }
   Page_IsValid =3D true;
}
function ValidatorHookupControlID(controlID, val) {
    if (typeof(controlID) !=3D "string") {
        return;
    }
    var ctrl =3D document.all[controlID];
    if (typeof(ctrl) !=3D "undefined") {
        ValidatorHookupControl(ctrl, val);
    }
    else {
        val.isvalid =3D true;
        val.enabled =3D false;
    }
}
function ValidatorHookupControl(control, val) {
    if (typeof(control.tagName) =3D=3D "undefined" && =
typeof(control.length) =3D=3D "number") {
        var i;
        for (i =3D 0; i < control.length; i++) {
            var inner =3D control[i];
            if (typeof(inner.value) =3D=3D "string") {
                ValidatorHookupControl(inner, val);
            }=20
        }
        return;
    }
    else if (control.tagName !=3D "INPUT" && control.tagName !=3D =
"TEXTAREA" && control.tagName !=3D "SELECT") {
        var i;
        for (i =3D 0; i < control.children.length; i++) {
            ValidatorHookupControl(control.children[i], val);
        }
        return;
    }
    else {
        if (typeof(control.Validators) =3D=3D "undefined") {
            control.Validators =3D new Array;
            var ev;
            if (control.type =3D=3D "radio") {
                ev =3D control.onclick;
            } else {
                ev =3D control.onchange;
            }
            if (typeof(ev) =3D=3D "function" ) {           =20
                ev =3D ev.toString();
                ev =3D ev.substring(ev.indexOf("{") + 1, =
ev.lastIndexOf("}"));
            }
            else {
                ev =3D "";
            }
            var func =3D new Function("ValidatorOnChange(); " + ev);
            if (control.type =3D=3D "radio") {
                control.onclick =3D func;
            } else {           =20
                control.onchange =3D func;
            }
        }
        control.Validators[control.Validators.length] =3D val;
    }   =20
}
function ValidatorGetValue(id) {
    var control;
    control =3D document.all[id];
    if (typeof(control.value) =3D=3D "string") {
        return control.value;
    }
    if (typeof(control.tagName) =3D=3D "undefined" && =
typeof(control.length) =3D=3D "number") {
        var j;
        for (j=3D0; j < control.length; j++) {
            var inner =3D control[j];
            if (typeof(inner.value) =3D=3D "string" && (inner.type !=3D =
"radio" || inner.status =3D=3D true)) {
                return inner.value;
            }
        }
    }
    else {
        return ValidatorGetValueRecursive(control);
    }
    return "";
}
function ValidatorGetValueRecursive(control)
{
    if (typeof(control.value) =3D=3D "string" && (control.type !=3D =
"radio" || control.status =3D=3D true)) {
        return control.value;
    }
    var i, val;
    for (i =3D 0; i<control.children.length; i++) {
        val =3D ValidatorGetValueRecursive(control.children[i]);
        if (val !=3D "") return val;
    }
    return "";
}
function Page_ClientValidate() {
    var i;
    for (i =3D 0; i < Page_Validators.length; i++) {
        ValidatorValidate(Page_Validators[i]);
    }
    ValidatorUpdateIsValid();   =20
    ValidationSummaryOnSubmit();
    Page_BlockSubmit =3D !Page_IsValid;
    return Page_IsValid;
}
function ValidatorCommonOnSubmit() {
    var result =3D !Page_BlockSubmit;
    Page_BlockSubmit =3D false;
    event.returnValue =3D result;
    return result;
}
function ValidatorEnable(val, enable) {
    val.enabled =3D (enable !=3D false);
    ValidatorValidate(val);
    ValidatorUpdateIsValid();
}
function ValidatorOnChange() {
    var vals =3D event.srcElement.Validators;
    var i;
    for (i =3D 0; i < vals.length; i++) {
        ValidatorValidate(vals[i]);
    }
    ValidatorUpdateIsValid();   =20
}
function ValidatorValidate(val) {   =20
    val.isvalid =3D true;
    if (val.enabled !=3D false) {
        if (typeof(val.evaluationfunction) =3D=3D "function") {
            val.isvalid =3D val.evaluationfunction(val);=20
        }
    }
    ValidatorUpdateDisplay(val);
}
function ValidatorOnLoad() {
    if (typeof(Page_Validators) =3D=3D "undefined")
        return;
    var i, val;
    for (i =3D 0; i < Page_Validators.length; i++) {
        val =3D Page_Validators[i];
        if (typeof(val.evaluationfunction) =3D=3D "string") {
            eval("val.evaluationfunction =3D " + val.evaluationfunction =
+ ";");
        }
        if (typeof(val.isvalid) =3D=3D "string") {
            if (val.isvalid =3D=3D "False") {
                val.isvalid =3D false;                               =20
                Page_IsValid =3D false;
            }=20
            else {
                val.isvalid =3D true;
            }
        } else {
            val.isvalid =3D true;
        }
        if (typeof(val.enabled) =3D=3D "string") {
            val.enabled =3D (val.enabled !=3D "False");
        }
        ValidatorHookupControlID(val.controltovalidate, val);
        ValidatorHookupControlID(val.controlhookup, val);
    }
    Page_ValidationActive =3D true;
}
function ValidatorConvert(op, dataType, val) {
    function GetFullYear(year) {
        return (year + parseInt(val.century)) - ((year < val.cutoffyear) =
? 0 : 100);
    }
    var num, cleanInput, m, exp;
    if (dataType =3D=3D "Integer") {
        exp =3D /^\s*[-\+]?\d+\s*$/;
        if (op.match(exp) =3D=3D null)=20
            return null;
        num =3D parseInt(op, 10);
        return (isNaN(num) ? null : num);
    }
    else if(dataType =3D=3D "Double") {
        exp =3D new RegExp("^\\s*([-\\+])?(\\d+)?(\\" + val.decimalchar =
+ "(\\d+))?\\s*$");
        m =3D op.match(exp);
        if (m =3D=3D null)
            return null;
        cleanInput =3D m[1] + (m[2].length>0 ? m[2] : "0") + "." + m[4];
        num =3D parseFloat(cleanInput);
        return (isNaN(num) ? null : num);           =20
    }=20
    else if (dataType =3D=3D "Currency") {
        exp =3D new RegExp("^\\s*([-\\+])?(((\\d+)\\" + val.groupchar + =
")*)(\\d+)"
                        + ((val.digits > 0) ? "(\\" + val.decimalchar + =
"(\\d{1," + val.digits + "}))?" : "")

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -