Collections / Java

Hash Map

Leave a Comment on Hash Map

HashMap is one of the most performing data structure in java collection framework. This provides constant time for both insertion and retrieval. This is used for large scale data since this is […]

READ MORE

Design Patterns / Java

Singleton Design Pattern

Leave a Comment on Singleton Design Pattern

This is the pattern which ensures there will be only one instance of a class in JVM and it can be accessed via globally. Generally this pattern is used to be on […]

READ MORE

Android

Save/Read data at shared preference in Android

2 Comments on Save/Read data at shared preference in Android

You will need to save data in shared preference when you are developing android applications. Below example show how to develop that functionality.

READ MORE

php

Regular Expression Validation Example in PHP

Leave a Comment on Regular Expression Validation Example in PHP

While validating a field we have to use regular expressions and I have explained how to validate html input field with regular expression via PHP.

READ MORE

Java

Abstract Class and Abstract methods in Java 01

Tagged , Leave a Comment on Abstract Class and Abstract methods in Java 01

Abstract class is also a class which is declared as abstract and this cannot be instantiated like normal java class even though it can be sub classed.

READ MORE

Java

Default method in interface in java – part 1

Tagged , 1 Comment on Default method in interface in java – part 1

This default method comes to scene when developers need to update existing interface without updating that interface implement classes updating. Default methods must have to have an implementation.  And developer can update […]

READ MORE

Java

Interfaces in Java – Part 2

Leave a Comment on Interfaces in Java – Part 2

When you define an interface if you make interface public then any class can access it and if you did not use word of public then it will only accessible to classes […]

READ MORE

WP Facebook Auto Publish Powered By : XYZScripts.com