interview questions

 

1.what is the key work static meaning in java, if there is the mutiple access to the static field, should the methord to be synchronized.?
2.what is the difference between StirngBuffer and StringBuilder?
3.what is the difference between the above two classed an the common Stirng?
4.Is there the java memory leak in java writting applications
5.is there any way that can be used to avoid the memory leak?
6.have you used the thread pool. what is this used for?
7.what is the thread dump used for?
8.truncate and delete 's difference. what is the rool back mean?
9.how to call store procedure in java?
10.procedure language and oo language
11.composition and aggrevgation .oo concept
12.why somebody create interface without property an methords?
13.singleton concept in java . how do you make the object into singleton.
14.exceptions in java
15.what is hibernate , how do you put the relations in the hibernate
16.what is the hibernate cache? what is the level two cache?
17.what is the difference between http and https, how the https work?

 

18:下面函数的输出结果:
public class ReferenceTest {

 /**
  * @param args
  */
 public static void main(String[] args) {
     String aa = "123456";
     char str[]={'a','b','v'};
        changeRef(aa, str);
        System.out.println(aa);
        System.out.println(str);
 }

 private static void changeRef(String aa, char[] str) {
  aa = "98765";
  str[0]= 'A';
  
 }

}

输出:

123456
Abv

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值