I think I am late for writing about varargs. The feature of variable argument has been added in Java 5 since its launch. Still I will write something about varargs. varargs has been implemented in many languages such as C, C++ etc. These functionality enables to write methods/functions which takes variable length of arguments. For example the ...
Following are few very useful Java code snippets for Java developers. Few of them are written by me and few are taken from other code reference. Feel free to comment about the code and also add your code snippet.1. Converting Strings to int and int to StringString a = String.valueOf(2); //integer to numeric string int ...
No, I am not talking about capturing screenshot of your desktop using Print Screen or other screen capture softwares. I wanted to implement requirement where I had to capture screenshots of the input website. Now this is a tricky job. If you do not have dedicated server machines and permissions on your shared hosting server, it ...
Following are list of 15 most useful PHP code snippets that a PHP developer will need at any point in his career. Few of the snippets are shared from my projects and few are taken from useful php websites from internet. You may also want to comment on any of the code or also you can ...
Ever tried implementing Drag & Drop feature using JavaScript? Believe me it is quite tough and has lots of cross browser implementation issues. Using jQuery you can create simple Drag & Drop features easily and manage them well. jQuery UI provides with a vast suite of APIs that can be leveraged to create a UI with ...
HTML Tabs have became one of the most used UI components in web design. Tabs are generally used to break content into multiple sections that can be swapped to save space. Different implementation of HTML Tabs are available and jQuery UI is one of the simplest one.For adding jQuery tabs in your HTML page, first you ...
For a quite while I had been using Ant build tool for building my Java projects. Since few days I have been switching to Apache Maven, an open source build framework that can be used to build almost all the projects in Java, .Net and other platforms. Maven was created by Sonatype's Jason van Zyl in ...
Just read this news on
Techmeme.Holywood actress Salma Hayek's Apple MobileMe account has been hacked by someone earlier today and account details were posted on Anonymous imageboard 4chan.org. The Anonymous poster who started it all left the following bits of information for all to see and use to access Salma Hayekâs MobileMe e-mail account.Her ...
Website analyzing and optimizing has became one of the key task that a webmaster has to perform in order to make the website run efficiently. By analyzing your website you can identify the problems related to loading time, size, keyword effectiveness etc.A lot of online website analyzing tools are available that can be used freely ...
Have you ever thought how does the search functionality is implemented in all the websites! Most of the internet blogs and websites are powered by MySQL database. MySQL provides a wonderful way (Full-text Search) of implementing a little search engine in your website. All you have to do is to have MySQL 4.x and above. MySQL ...