Monday, October 20, 2014

Introduction to Cassandra

Apache Cassandra is a NoSQL persistence solu- ton that ofers distributed data, linear scalability, and a tunable consistency level, making it well suited for highly available and high- volume applicatons. Devel- oped by Facebook and open sourced in 2008, Cassandra was infuenced by the Bigtable...

Wednesday, October 15, 2014

Java Apps on iOS and Android— Now a Reality

Let me guess a couple of things about you. First, you are fuent in Java. Second, you have a smartphone, tablet, or both within reach. Am I right? Well, with the explosion of mobile device popularity, plus the fact that you are reading Java Magazine, these were not really tough guesses to make. What...

Monday, October 13, 2014

DBMS Basics - Interview Questions and Answers

1. What is database? A database is a logically coherent collection of data with some inherent meaning, representing some aspect of real world and which is designed, built and populated with data for a specific purpose. 2. What is DBMS? It is a collection of programs that enables user to create and maintain a database. In other words it is general-purpose software that provides the users...

Saturday, October 11, 2014

Java Exception Interview Questions and Answers

What is Exception in Java? Exception is an error event that can happen during the execution of a program and disrupts it’s normal flow. Exception can arise from different kind of situations such as wrong data entered by user, hardware failure, network connection failure etc. Whenever any error occurs while executing a java statement, an exception object is created and then JRE tries to...

Java Multi-Threading and Concurrency Interview Questions with Answers

What is the difference between Process and Thread? A process is a self contained execution environment and it can be seen as a program or application whereas Thread is a single task of execution within the process. Java runtime environment runs as a single process which contains different classes and programs as processes. Thread can be called lightweight process. Thread requires less resources ...

Java String Interview Questions and Answers

What is String in Java? String is a data type? String is a Class in java and defined in java.lang package. It’s not a primitive data type like int and long. String class represents character Strings. String is used in almost all the Java applications and there are some interesting facts we should know about String. String in immutable and final in Java and JVM uses String Pool to store all the...

Java Collections Interview Questions Answers

What are Collection related features in Java 8? Java 8 has brought major changes in the Collection API. Some of the changes are: Java Stream API for collection classes for supporting sequential as well as parallel processing Iterable interface is extended with forEach() default method that we can use to iterate over a collection. It is very helpful when used with lambda expressions because it’s...

Core Java Interview Questions and Answers

What are the important features of Java 8 release? Java 8 has been released in March 2014, so it’s one of the hot topic in java interview questions. If you answer this question clearly, it will show that you like to keep yourself up-to-date with the latest technologies. Java 8 has been one of the biggest release after Java 5 annotations and generics. Some of the important features of Java...

Java Interview Questions

Dear readers, these Java Interview Questions have been designed especially to get you acquainted with the nature of questions you may encounter during your interview for the subject of Java Programming Language. As per my experience, good interviewers hardly planned to ask any particular question during your interview, normally questions start with some basic concept of the subject and later...

Friday, October 10, 2014

115 Java Interview Questions and Answers – The ULTIMATE List

Object Oriented Programming (OOP) Java is a computer programming language that is concurrent, class-based and object-oriented. The advantages of object oriented software development are shown below: Modular development of code, which leads to easy maintenance and modification. Reusability of code. Improved reliability and flexibility of code. Increased understanding of code. Object-oriented...

Java Basics - Interview Questions and Answers

1. What is the difference between a constructor and a method? A constructor is a member function of a class that is used to create objects of that class. It has the same name as the class itself, has no return type, and is invoked using the new operator. A method is an ordinary member function of a class. It has its own name, a return type (which may be void), and is invoked using the dot operator. 2....