home / developersection / tag
You haven’t finished your post yet. Are you sure you want to leave and discard your draft?
Java Reflection facilitate us to inspect classes, interfaces, fields and methods at runtime, without knowing the name
If you are declared with abstract keyword of a class is called abstract class. It can have abstract and non-abstract method (method with body).
In java Inner class or nested class is declared inside the class or interface. We use inner class because it increases more readable & maintainable of code.
If you want to convert string to float,double,int,date and vice- versa then this article are very useful for that
If you are using more than one synchronized method in the program and want to access both synchronized method in a program on single thread.
Before JVM shuts down if you want to execute some code, use shutdown hook.
In java, Damon thread is a low priority thread .It is used for providing background support to any user thread to same process as the daemon thread.
if you have to read and write the textual information Then Java has suggested not to use the FileInputStream and FileOutputStream classes .
If we want to read data from multiple stream in java input/output operation then SequenceInputStream class is very useful for that.
If we don’t know how many arguments we will have to pass in the method .Varargs is the better approach.
In Java, Their are several ways to taken an input from the keyboard.such like InputStreamReader Class,Scanner class,Console class etc.
Serialization is a process of converting an object into a stream.