1. What is the difference between int and Integer in the Java language?
Answer: Int is the basic data type, integer is the wrapper class for int, and is a reference type
85. Calculate the following results:
25&3 =
25|3=
Answer: 25 binary is 11001, 3 binary is 00011, bitwise with the result is: 00001, bitwise OR of the result is: 11010, so the turn into 10 binary is: 1 and 27
2, how to get <div id= "Div1" >this is the value in the first layer</div>?
Answer:
<script>
var Div1=document.getelementbyid ("Div1");
Alert (div1.innerhtml)
</script>
3. The syntax of the For loop supported in JDK1.5
Answer:
for (type Element:array) {System.out.println (Element)
The type collection (not just the collection, but also the normal array) elements in the data type element are traversed to the element of the array object itself (of course not just collection)
Java face question 11