java面试笔试题大汇总
JAVA相关基础知识1、面向对象的特征有哪些方面 1.抽象:抽象就是忽略一个主题中与当前目标无关的那些方面,以便更充分地注意与当前目标有关的方面。抽象并不打算了解全部问题,而只是选择其中的一部分,...
Java面试常问的几个问题
Java基础方面:1,作用域public,protected,private,以及不写时的区别2,ArrayList和Vector的区别,HashMap和Hashtable的区别3,char型变量能不能定义为一个中文?为什么?4,多线程有几种表示方法,都是什么?同步有几种实现方...
java job
http://jobs.zhaopin.com/P2/CC2547/4481/J902/500/CC254744814J90250041000.htm?f=ss&DYWE=1262345431578.236132.1263127163.1263354702.4
Static Variables and Methods
Things you can mark as static:■ Methods■ Variables■ A class nested within another class, but not within a method .■ Initialization blocksThings you can't mark as static:■ Constructors (makes no ...
Instance Variables
instance variables■ Can use any of the four access levels (which means they can be marked withany of the three access modifiers)■ Can be marked final■ Can be marked transient■ Cannot be marked abs...
Methods with Variable Argument Lists (var-args)
■ arguments The things you specify between the parentheses when you're invoking a method: doStuff("a", 2); // invoking doStuff, so a & 2 are arguments■ parameters...
Nonaccess Member Modifiers
final and abstract,transient, synchronized, native, strictfp,staticFinal MethodsThe final keyword prevents a method from being overridden in a subclass, and isoften used to enforce the API functionali...
Local Variables and Access Modifiers
There is never a case where an access modifier can be applied to a local variable. In fact, there is only one modifier that can ever b...
protected ,default on class member
protected修饰符作用在类成员时,想当于package-level+inheritance,就是说同一个包内的可以访问,在包外,只有子类可以通过继承访问default修饰符作用在类成员时,只有包内可以访问,其他的都不可访问子类继...
Declare Class Members
Access Modifiers ■ public ■ protected ■ default ■ private■ Whether me...
Declare Interfaces
When you create an interface, you're defining a contract for what a class can do,without saying anything about how the class will do it. An interface is a contract.how the methods and variable...
Declare Classes
Source File Declaration Rules ■ There can be only one public class per source code file. ■ Comments can appear at the begi...
Java Identifiers
legal identifiers must be composed of only Unicode characters,numbers, currency symbols, and connecting characters (like underscores). &n...
jsp include directive, jsp:include action, jsp:plugin action compare
1.jsp include directive <%@ include file="Relative URL" %> 可以通過該指令將代碼在主頁面編譯成Servlet之前加入到主頁面,加入的頁面可以包括字段的定義,一些cont...