Marker Interfaces- A marker interface is one which has absolutely nothing in them.They have no meth ... Read More
When a child class extends a parent class it is called inheritance. A child class can access class ... Read More
If we use hashmap items will not be added to the map in an order ``` Map myMap = new Hash ... Read More
* java.nio package came available in java 1.4 to read and write data to a file * If we compare jav ... Read More
We can create a class within a class and the inner class can have its own methods and variables. ... Read More
*If we a class has 20 fields like id,location,exits etc etc then instead of writing all fields to a ... Read More
More examples of regular expressions in java ``` String challenge1 = "I want a bike."; /* ... Read More
Array are used to hold a list of values ,like a list of Strings,ints etc. Arrays have a fixed length ... Read More
For a try block we can have multiple catch blocks.Only thing to be noted for the catch blocks is tha ... Read More
Code to copy file1.txt from examples folder and make a new copy in the same folder under the name fi ... Read More