美团2017秋招笔试真题-前端开发工程师A
时长:90分钟 总分:100分
109浏览 0人已完成答题
题型介绍
题型 | 单选题 | 多选题 |
---|---|---|
数量 | 13 | 4 |
阅读下列程序,选择哪一个是正确的输出结果?class HelloA{ pu
class HelloA{
public HelloA()
{
System.out.println("I'm A class ")
}
static
{
System.out.println("static A")
}
}
public class HelloB extends HelloA{
public HelloB()
{
System.out.println("I'm B class")
}
static{
System.out.println("static B")
}
public static void main(String[] args) {
new HelloB()
}
}
在同一线程中android.os.Hander 和 android.os.Mes
问题:span 标签的width 和 height 分别为多少?
<div style="width:400px height:200px"> <span style="float:left width:auto height:100%"> <i style="position:absolutefloat:left width:100px height:50px">hello</i> </span> </div>问题:span 标签的width 和 height 分别为多少?
请阅读以下代码:var obj = {}obj.log = console.l
var obj = {}
obj.log = console.log
obj.log.call(console, this)
该代码在浏览器中执行,输出的日志结果是什么?
以下C语言指令:int a[5] = {1, 3, 5, 7, 9} int
int a[5] = {1, 3, 5, 7, 9}
int *p = (int *)(&a + 1)
printf("%d, %d", *(a + 1), *(p - 1))
运行结果是什么?