[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$feV7di7kdMsAa6b2yeLGEeEK7wo8jHlrRmjEXCaLrOK8":3},{"answer":4,"createTime":5,"id":6,"options":7,"origin":12,"question":19,"related":20,"source":30,"type":31},[],"2025-03-29 21:55:53",180838732,[8,9,10,11],"@Component","@Entry","@Builder","@Preview",{"count":13,"courseId":14,"courseImg":15,"courseName":16,"workId":17,"workName":18},11,"5f8111a6ef6a8b79dafc295b847b1bc9","https:\u002F\u002Ftihai-oss-cloud.itihey.com\u002Fimg\u002F9c1e48361b00f3ee2086f4e259ed792b.jpg","混合式移动App开发","work_41392667","第2章 ArkTS语言","用哪一种装饰器修饰的自定义组件可作为页面入口组件?( )",[21,32,41,50,59,64,67,77,86,95],{"answer":22,"createTime":5,"id":23,"options":24,"question":29,"source":30,"type":31},[],180838725,[25,26,27,28],"int a = 10","var a = 10","let a: number = 10","number a = 10","下面属于ArkTS中正确使用变量声明的语句是?( )","v1",0,{"answer":33,"createTime":5,"id":34,"options":35,"question":40,"source":30,"type":31},[],180838726,[36,37,38,39],"func printInfo(){}","def printInfo()","void printInfo(){}","function printInfo() {}","下面属于ArkTS函数声明的语句的是?( )",{"answer":42,"createTime":5,"id":43,"options":44,"question":49,"source":30,"type":31},[],180838727,[45,46,47,48],"arr表示数据源,为Array类型的数组,为必选参数","arr可以设置为空数组,此时不会创建子组件","itemGenerator为数组中的每个元素创建对应的组件,为必选参数","keyGenerator为数据源arr的每个数组项生成唯一且持久的键值,为必选参数","下列关于ForEach循环渲染语法中参数说法错误的是?( )",{"answer":51,"createTime":5,"id":52,"options":53,"question":58,"source":30,"type":31},[],180838728,[54,55,56,57],"if、else if后跟随的条件语句不可以使用状态变量","允许在容器组件内使用,通过条件渲染语句构建不同的子组件","当父组件和子组件之间存在一个或多个if语句时,必须遵守父组件关于子组件使用的规则","支持if、else和else if语句","下列关于if\u002Felse条件渲染说法错误的是?( )",{"answer":60,"createTime":5,"id":61,"options":62,"question":63,"source":30,"type":31},[],180838730,[8,9,10,11],"用哪一种装饰器修饰的struct表示该结构体具有组件化能力?( )",{"answer":65,"createTime":5,"id":6,"options":66,"question":19,"source":30,"type":31},[],[8,9,10,11],{"answer":68,"createTime":5,"id":69,"options":70,"question":75,"source":30,"type":76},[],180838734,[71,72,73,74],"let x: number = null","let x: number | null = null","let y: string = null","let y: string = 100","下面示例中会导致编译报错的有?( )",1,{"answer":78,"createTime":5,"id":79,"options":80,"question":85,"source":30,"type":76},[],180838736,[81,82,83,84],"string","boolean","number","Object","下面属于ArkTS基础类型的是?( )",{"answer":87,"createTime":5,"id":88,"options":89,"question":94,"source":30,"type":76},[],180838738,[90,91,92,93],"fontSize()","onClick()","width()","height()","下面哪些属于属性方法?( )",{"answer":96,"createTime":5,"id":97,"options":98,"question":104,"source":30,"type":76},[],180838740,[99,100,101,102,103],"aboutToAppear","aboutToDisappear","onPageShow","onPageHide","onBackPress","下面哪些函数是自定义组件的生命周期函数?( )"]