Latest article on category "Java"

Java is one of the oldest programming languages, but the programming language still is in the trend. And there are lots of companies who are using it. Also, there is no doubt that there will be a need for java developers in the upcoming future....

 167 View(s)

No matter how many new technologies and frameworks introduced in past couple of years, but Java has managed to hold its position as one of the most popular programming languages....

Java 
 946 View(s)

In this article we can define Multi-threading,Multitasking and Life-cycle of a thread.Multi-threaded programming is a way to achieve multitasking. In this case more than one method of the running program can be executed at a time....

Java 
 1994 View(s)

We can define Exception handling in this article and also describe important features of Exception handing....

Java 
 1149 View(s)

In this article we can describe Inheritance and its type. Initially we can defined inheritance and after that types of inheritance...

Java 
 1032 View(s)

In this article we can describe Constructor and its type...

Java 
 1228 View(s)

In this article we can define use of static and non-static modifiers with method and variable...

Java 
 1100 View(s)

This article introduce basics information about Object,Class and Object orientation...

Java 
 1176 View(s)

JAVA was developed by Sun Microsystems and released in 1995. It runs on variety of platform such as Mac OS, Windows, and the various versions of UNIX....

Java 
 1629 View(s)

The Documented annotation indicates that an annotation with this type should be documented by the Javadoc tool....

Java 
 2209 View(s)

In the previous posts we learn the use of @Target and @Retention annotation. Now we understand this with the help of an example illustrated here....

Java 
 1407 View(s)

But, in this post we learn how to annotate an annotation using few more annotation specifically meant for this purpose....

Java 
 8018 View(s)

In previous post, we have seen how to declare marker and single value annotations. So, let’s continue the same example and learn how to declare multi value annotations and set default values....

Java 
 1475 View(s)

Having seen the built-in simple annotations in the previous posts, it is time now to create our own annotations. Why would we create our own annotations?...

Java 
 1905 View(s)

In the previous posts, we have learnt what annotations are and why we use these annotations in java program codes. We have learnt the use and demonstration of @Deprecated annotation....

Java 
 1409 View(s)

The Java API over the years has deprecated quite a few classes and methods. This means new methods and classes have been added that provide a better way to achieve the same task;...

Java 
 1336 View(s)

In the previous posts, we have just seen the use of type wrappers in wrapping the primitive data types. Beginning in J2SE 5.0, we will not have to explicitly perform such wrapping. The wrapping/unwrapping is now implicit and automatic....

Java 
 1351 View(s)

The Character class that wraps a char data type provides several utility methods to operate on character data. We can test whether the given character is a digit, a letter, a lowercase character, and so on....

Java 
 1057 View(s)

The type wrapper classes were provided in Java libraries since its first release. J2SE 5.0 made several useful additions to its methods. For example, the Integer class now provides methods for bit manipulations....

Java 
 1140 View(s)

To wrap a primitive type into one of these classes, we use the provided class constructor. Generally, each of these classes provides two constructors:...

Java 
 1407 View(s)

Earlier we learned that objects of the enum type can be serialized and compared to each other....

Java 
 1230 View(s)

Suppose we want to convert a user-specified weight in pounds to a different unit of measure, such as kilograms, carats, or ounces....

Java 
 1123 View(s)

To add a property to an enumeration constant, we would need to define its constructor....

Java 
 1483 View(s)

In the previous post, we have seen why we need Enums in java, we have seen how to create integer patterns for Enumerations....

Java 
 2777 View(s)

Oftentimes, we need a fixed set of constants in our application. Examples might include the days of the week and the colors in a rainbow....

Java 
 1376 View(s)