Today by mistake I delete log file from of any running application for example apache, now problem set is how can i recover that log without any 3rd party recovery tools.
we are going to discuss if we can recover that file what are the step of recovery.
Continue reading How to recover the log file if it is delete any running application in linux?
In any version 4 and above that that it will work.
Login from root or superuser user in linux.
Go to /etc/yum.repos.d directory where all repository file are available.
Continue reading How to configure yum in linux(Redhat)
Both the interfaces
java.util.Comparator are used to sort the list of Java Custom objects.
Continue reading Comparable vs Comparator in java
There are different approach to sort your custom object or List of Custom object in java. First of all, we have to understand what things we have to sort.
Continue reading How to Sort Objects By Using Comparator in Java
There are different approach to sort your custom object or List of Custom object in java. First of all, we have to understand what we are trying to sort. Let me classify in two group broadly, first natural ordering and second, non-natural sorting ( complex sorting).
java.lang.Comparable interface is used to sort the object in natural order. The sorting of natural order is very simple by implementing Comparable interface.
Continue reading How to Sort List of Objects By Using Comparable in Java?
This article is about the admin job for mongoDB, in which I tried to explain, how to revoke privileges from any role to a user? In this post I tried to explain about user admin function i.e.
Continue reading How to Revoke Privileges from any role in MongoDB?
Well, when I heard first time about sorting of stack, I thought why we required to sort of any stack. Initially I thought , this is rubbish and time pass thing, but later point of time, realize this can be interview question. In-fact, most of the interviewer ask this question, how to sort stack in java. I tried to demonstrate the exercise of writing program of sorting stack in java.
Continue reading Sorting of Stack in Java
This post is about checking a balancing of Symbol (parenthesis) in a mathematical expression using Stack in Java. Let us consider few expression whether its balance or not. In programming interview this can be asked to check whether you know the Stack basic or not.
Continue reading How to Check Balancing of Symbol using Stack in Java
Stack is ADT type of data structure which has different implementation for different purpose for fulfilling of different contextual requirement. In this article tried to implement how to implement by using fixed size array based implementation. If you want to know something basic about Stack, you can visit What is Stack Data structure.
Continue reading How to Implement Fixed Size Stack in Java
What is Stack Data Structure? Stack is a simple data structure used for storing similar type.
Continue reading Data Structure: What is Stack ?