- 博客(8)
- 收藏
- 关注
转载 Top 30 Phone Tech Interview Questions on Java
1. Why String is immutable in Java? (Security, String pool implementation, see more here) 2. Can abstract class have constructor in Java? (Yes, detailed answer is here) 3. Which two methods is
2014-03-29 11:56:48 336
转载 Connecting to LDAP server using JNDI in Java
The following example demonstrates how to make connection to a LDAP server using JNDI (Java Naming and Directory Interface) APIs in Java. The JNDI’s interfaces, classes and exceptions are available in
2014-03-28 07:02:49 655
转载 JavaScript 作用域和闭包
看下面的例子: var i, list = []; for (i = 0; i list.push(function(){ console.log(i); }); } list.forEach(function(func){ func(); }); 我们将得到两次 "2" ,而不是预期的 "1" 和 "2" ,这是因为在 list 中的两个函数访问的变量 i 都是其上一层
2014-03-28 06:47:59 390
转载 How to format Currency in Java
import java.text.NumberFormat; import java.util.Locale; /** * How to format Number to different currency in Java. Following Java program * will show you, how you can display double value in diff
2014-03-27 22:22:18 568
转载 AJAX with JQuery
1. Add the results of an AJAX call in an HTML element: GET: We enter the url of the page to call. POST: We enter the url of the page to call and the parameters of the POST call
2014-03-27 07:26:12 325
转载 AJAX with JQuery
1. Add the results of an AJAX call in an HTML element: GET: We enter the url of the page to call. POST: We enter the url of the page to call
2014-03-27 07:25:26 333
转载 differences between List and Set interface in point format
1) List maintains insertion order of elements while Set doesn't maintain any ordering. 2) List allows duplicate objects while Set doesn't allow any duplicates. If you compare implementation
2014-03-26 23:56:33 366
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人