The process of acquiring properties of a base class is known as inheritance where the base class is a class whose properties are inherited. It is a basic fundamental property of object-oriented programming.
The interface is a mechanism to achieve fully abstraction. There can be only abstract methods in interface, not method body. An Interface is also used to achieve multiple inheritance in Java.
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 are excited to know how to swing component event & listener are working then this article is very important
If you are excited to coding for creating a windows based application then Java Swing is the best way .
For solve the problem are possible only by the static Initialization block.
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.
Serialization is a process of converting an object into a stream.
The Java Console class is often using to get input from console. It provides methods to read text and password.
The StreamTokenizer class allows you to break an input stream into tokens such as words.
There are two principal means of generating random (really pseudo-random) numbers: one is using the Random class and the other is using the Math.random method.
Getter and setter methods are used in Java to retrieve and manipulate private variables in a different class.
The whole idea behind encapsulation is to hide the implementation details from users. If a data member is private it means it can only be accessed within the same class. No outside class can access private data member (variable) of other class.
Regular Expression used to define constraint on strings such as password and email validation.
By Default, the Object class is the parent class of all the classes in java or we say, it is the topmost class of java.
A cursor defines the runtime execution environment for query when the result of the query execution can be captured.
© Copyright © 2010 - 2018 MindStick Software Pvt. Ltd. All Rights Reserved