Friday, November 17, 2017

Thursday, November 16, 2017

Saturday, November 11, 2017

Friday, November 10, 2017

Program to remove correspond duplicate character and reverse the string

Reversing the string is quiet simple in java but to remove the duplicate character in string without using and inbuild function or utility we need to do some brain storming. There are 2 ways we can solve the problem. 1) Using Build in functions and solve the problem (Ex. Use HashSet to Remove Duplicate and...

Tuesday, November 7, 2017

Spring MVC - Program for Implementing Dispatcher Servlet and Web.xml using Java annotation configuration

Spring as we all know is very popular because of its MVC framework. So we have 2 ways to Implement the Spring MVC using dispatcher servlet by Xml or can be configure by Java Annotation. Below is the Program of Implementing the Java Annotation for Dispatcher...

Monday, November 6, 2017

Saturday, November 4, 2017

Program of Random Function baised with 50% for 0 and 1 and 75% for 1 and 25% for 0 in java

Hey guys , Today one of my friend asked me a question regarding the function which will return the baised probability of 75% of 1 I thought lets share the answer with you guys as well So below is my solution of the problem and my approach. (adsbygoogle = window.adsbygoogle || []).push({}); Approach  First...

Tuesday, October 31, 2017

Sunday, September 10, 2017

Apache ActiveMQ "Message Queue" and its implementation using java

Hello Guys , Hope you all are doing good , Today we will learn more about activemq so lets get start. What is ActiveMQ ? Apache ActiveMQ ™ is the most popular and powerful open source messaging and Integration Patterns server. Apache ActiveMQ is fast, supports many Cross Language Clients and Protocols, comes...

Sunday, July 23, 2017

Monday, July 3, 2017

Saturday, June 17, 2017

Program to find whether the Book is on Public link or not

In this post we will try to understand whether the book is on public link or not. First question someone ask would be , What is meant by public link ?? PUBLIC LINK- Public link is referred as the links where all the contents are free to use , there is no copy right problem if we use the content of the website. Objective:...

Tuesday, February 7, 2017

Garbage Collector and its Algorithms - JAVA

-------------------Garbage Collection----------------------- In java , programmer need not to care about the objects which are no longer in use. garbage collector destroy those objects and make the memory available for the programmer to use again. - garbage collector not guaranteed to run at any specific time. there...

Design Pattern

Design Pattern ----------------- * Creatational Design Pattern- the way to create object. used when we need to make decision for creating the instance of class. Type- 1) Factory Design pattern- It says that let create the abstract class or interface for creating an object but let the subclass decide which class...

Breadth first Traversal(BFT) AND Depth First Traversal(DST) Program in java

Hello Guys , Hope you all are doing good , so today we are going to see the BST and DST Program in java. Let see the implementation of BST and DST in single program package inv.learning.searching; import java.util.Iterator; import java.util.LinkedList; public class BFT { public static void main(String[]...

JVM - Classloading in java

Hello Everyone , Hope you all are doing good , Today we will learn about class loading in java , class loading is very basic topic which most of the programmer dont know, so lets see what and type of classloaders. --jvm Class Loading--- Three activities while class loading -loading -linking -initialization Loading---...

Monday, February 6, 2017

Polymorphism and its type-Java

Hello guys , today we will read about one important characteristice of oops i.e Polymorphism --polymorphism--- One thing in many form or The ability to appear in more than one form In Java there are 2 type of polymorphism -compiler time polymoriphism (static binding) -achieved by method overloading ...

Thursday, February 2, 2017

Thursday, January 12, 2017

Inheritance - Indepth- Important Topic of Interview of Java

Hi Guys, Yesterday I posted about Inheritance , what how and type of inheritance . today i am going to post articles about the Indepth knowledge of inheritance, So lets starts HOW TO PREVENT THE CLASS FROM INHERITANCE to prevent the class from inherit , we should use final modifier Ex- Class A{ } Class B extends...

Tuesday, January 10, 2017