package java1; public class People { public String name; public int age; public String sex; public String height; People(String name, int age, String sex, String height) { this.name = name; this.age = age; this.sex = sex; this.height = height; } publ
package com.chuoji; public class People { private String name; private int age; private String sex; private double height; public String getName() { return name; } public void setName(String name) { this.name = name; } public int getAge() { return ag
Option Explicit---------------------------------------------------------开头 dim fas,objfso,printstr,objtextfile,i---------------------------------变量 Set fas = CreateObject("Scripting.FileSystemObject")------创建fso对象 If fas.FolderExists("c:\te
上一个随笔说了一些关于vbs变量类型的内容,这一篇我们继续说说变量类型相关的内容. 一.NULL补充内容 '需要注意的是,NULL不能简单通过 = 来进行比较,而必须通过 'IsNull函数来实现 '下面用 = 进行比较,不会执行IF子句 Dim varTest varTest = Null If varTest = Null Then MsgBox "The variable varTest has NULL value." End If '下面用IsNull检测,会执行语句 If