See which of your colleagues or former colleagues are already on Java Link: Check out the Contact Finder

Creation of StringBuffer

0
Vote  Vote
public class StringBufferExample{ public static void main(String[] args) { StringBuffer strBuffer1 = new StringBuffer("Bonjour"); StringBuffer strBuffer2 = new StringBuffer(60); StringBuffer strBuffer3 = new StringBuffer(); System.out.println("strBuffer1 : " +strBuffer1); System.out.println("strBuffer2 capacity : " +strBuffer2.capacity()); System.out.println("strBuffer3 capacity : " +strBuffer3.capacity()); } }...

Breaking News

0
Vote Vote

Where’s the Right Way to AJAX?

One thing is using AJAX to dynamically refresh a small piece of a single page; all another thing is designing a whole presentation layer to be partially refreshed in every possible operation against the server. An individual feature can be happily and nicely coded using a smart piece of JavaScript; a whole Web presentation layer will cost you a lot more if done entirely in JavaScript. Sure, new productivity tools are created every day (from the popular jQuery library to the upcoming ASP.NET A...
Published about 18-04-2009 | Rated 0
0
Vote Vote

What is the impact of declaring a method as final?

A method declared as final can`t be overridden. A sub-class can`t have the same method signature with a different implementation...
Submitted by Balamurali | Rated 0
0
Vote Vote

Use NetBeans IDE 6.7 to Combine JAR Files Into a Single JAR File

The Java Warehouse is the repository for Java and JavaFX applications submitted by developers for distribution through the Java Store to hundreds of millions of desktops worldwide. The Java Warehouse Developer Center Release Notes make clear that there is currently no way to upload applications composed of several Java Archive (JAR) files into the Java Warehouse. However, there is a workaround: Just concatenate each of the user and library classes into a single JAR file. This is very easy to do ...
Published about 25-08-2009 | Rated 0
+1
Vote Vote

How to fix memory leaks in Java

Your pager hasn’t been sleeping well. It periodically wakes you up in the middle of the night to tell you that your server is firing off “OutOfMemoryError” messages. Worse still, your significant other forcibly relocated you to the couch and told you not to return until your pager stops buzzing. Sound familiar? If so, you may have a case of memory leak induced insomnia, but fortunately we’ve got a cure for what ails you. This tutorial will teach you everything you need to know to ease...
Published about 18-03-2009 | Rated +1

Most Popular News

Most Recent User Submitted News

News Photostream

Search News

What's the News?

Post a link to something interesting from another site, or submit your own original writing for the Java community to read.

News: Top Contributors

Balamurali
Andhra Pradesh,Hyderabad
160
articles
ATUL
Maharashtra,Mumbai
57
articles
Sonal
Karnataka,Bangalore
23
articles
16
articles