Javarocks - javarocks.in

General Information:

Latest News:

Wrapper Classes 21 Dec 2012 | 10:22 am

The main objectives of wrapper classes are: 1) To Wrap primitives into object form. So that we can handle primitives also just like objects. 2) To Define several utility functions for the primitives(l...

Chaining of Methods 21 Dec 2012 | 09:20 am

For most of the methods in String and StringBuffer the returntypes are the same String and StringBuffer objects only. After Applying a method we are allowed to call another method on the result which ...

StringBuilder 21 Dec 2012 | 09:14 am

StringBuilder class exactly similar to StringBuffer (including constructors and methods) Except the following. StringBuilder StringBuffer No method is synchronized All methods are Synchronized StringB...

StringBuffer Class 18 Dec 2012 | 11:50 am

Constructors of StringBuffer: StringBuffer sb = new StringBuffer(); Creates an empty StringBuffer object with default initial capacity 16. If it reaches max capacity then a new StringBuffer object wil...

Strings Class 18 Dec 2012 | 11:38 am

Once we created String objects we are not allowed to perform any changes in the existing object. If u r trying to perform any changes with those changes a new String object will be created this behavi...

Object Class 18 Dec 2012 | 10:46 am

The most common general methods which can be applicable on any java object are defined in object class. Object class is the parent class of any java class, whether it is predefined or programmer defin...

FUNDAMENTAL CLASSES IN java.lang.package 18 Dec 2012 | 10:10 am

Introduction The most commonly used and general purpose classes which are required for any java program are grouped into a package which is nothing but a “java.lang.package”. All the classes and inter...

DaemonThread 17 Dec 2012 | 03:54 pm

The threads which hare running in the background to provide support for user defined threads are called “Daemon Thread”. Usually daemon thread are running with low priority but based on our requiremen...

Dead Lock 17 Dec 2012 | 03:47 pm

If two threads are waiting for each other forever, then the threads are said to be in “deadlock”. There is no deadlock resolution technique but prevention technique are available Example: Banker’s Alg...

Inter Thread Communication 17 Dec 2012 | 03:40 pm

Two threads can communicate with each other by using wait(), notify(), notifyAll(). These methods are available in object class but not in thread class. Because threads are calling these methods on an...

Recently parsed news:

Recent searches: