Real java interview questions asked for Oracle Enterprise Manager Project

Java Interview Quesions

Oracle Enterprise Manager helps private and public cloud service providers deliver cloud services up to ten times faster while freeing up administration resources. It’s very popular product from Oracle. Note: I have tried to put links to webpages where you can refer for answers of below interview questions. They may not be enough to cover…

Using Comparator becomes easier with lambda expressions [Java 8]

java_8_lambdas

Comparators are used when we want to sort a collection of objects which can be compared with each other. This comparison can be done using Comparable interface as well, but it restrict you compare these objects in a single particular way only. If you want to sort this collection, based on some other criteria/field, then…

Java 8 Tutorial: Streams by Examples

java_8_lambdas

In previous post, we learned about “Internal vs. External Iteration” and how internal iteration helps in focusing only on business logic rather than how to iterate over certain objects on which logic needs to be applied. It helps in cleaner and more readable code. In this post, I am discussing a new abstraction introduced in…

Java 8 Tutorial: Internal vs. External Iteration

lambda

External iteration Till Java 7, the collections framework relied on the concept of external iteration, where a Collection provides, by implementing Iterable, a means to enumerate its elements i.e. Iterator, and clients use this to step sequentially through the elements of a collection. For example, if we wanted to get all strings in uppercase, we…

Functional interface tutorial

Functional-Interface-Error

In previous discussion, we learned about lambda expressions and some basics about functional interfaces. In this tutorial, I am extending the topic in context of functional interfaces. Here we will discuss following points: 1) What is functional interface 2) Do’s and Don’t’s in functional interfaces 1) What is functional interface Functional interfaces are new additions…

How to quickly make eclipse faster

eclipse_validation

Once we start working on eclipse, it gradually becomes slower. To improve the performance and make eclipse faster, there are certain ways which you can utilize and see noticeable differences. These effective method are listed below: 1) Clean up history and indexes 2) Remove structured text validation 3) Do not use subclipse plugin 4) Configure…

How to use Predicate in java 8

In mathematics, a predicate is commonly understood to be a Boolean-valued function P: X? {true, false}, called the predicate on X. Informally, a predicate is a statement that may be true or false depending on the values of its variables. It can be thought of as an operator or function that returns a value that…