Java
Java – A Programming language
-
Dependency Injection
IoC is also known as dependency injection (DI). It is a process whereby objects define their dependencies, that is, the other objects… Read More
-
Java Heap Memory | Garbage Collection
Java provide automatic memory management through a program called Garbage Collector. Garbage Collection will be carried out by daemon thread… Read More
-
How Ajax Call works ?
AJAX, or Asynchronous Javascript And XML, is a client side technique for communication with a web server, Instead of making… Read More
-
Usage of ExecutorService – java.util.concurrent
The java.util.concurrent.ExecutorService interface represents an asynchronous execution mechanism which is capable of executing tasks in the background. An ExecutorService is thus very similar to… Read More
-
How to align element for 100% height and width in HTML ?
Here is the concept of adjusting your html elements according to viewport . Example: .div height : 100vh; How to… Read More
-
Useful Date API Class
package com.techiehints.utils; import java.sql.Date; import java.sql.Timestamp; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Calendar; import java.util.HashMap; import java.util.List;… Read More
-
How to remove last occurrence of any character in Javascript ?
Place the following javascript method in your file. String.prototype.reverse = function () return this.split(”).reverse().join(”); ; String.prototype.replaceLast =… Read More
-
How to get latest file in the specific directory in Java ?
In this topic, I am sharing very interesting and useful code for Many developers. Requires: Environment: Java 8 Package: java.nio.*… Read More
-
How to exclude .svn folder while copying ?
Just use rsync command solves your problem. rsync -r –exclude=.svn svnfodler svnexcludefolder rsync command is having extended usage of cp Read More
-
How to implement common methods declaration when we have in implementing interfaces ?
Continuing from previous topics How to implement multiple interface in Java? In this Topic, lets see very interesting scenario: How… Read More
