Monthly Archive:: March 2016

Keywords and Reserved Words in C++

In this article you will be provided the list of keywords which are in C++ language and also  a basic view about the difference between “Keywords” , “Reserved words” and “Standard Identifiers”. Difference between Keywords ,  Reserved words  and “Standard Identifiers: In most program
Read More >>

Compile and Run Java Program in Command Line

Java provide JDK to compile and JRE to run the program. If you have already installed these two component then you need to set classpath in windows or in any other operating system. After setting path you can compile and run your program. Let we compile and run recently program that we discussed in
Read More >>

SET Java ClassPath in Windows

Classpath is compulsory to compile and run .java file by commands in CMD because without it CMD will unable to find the meaning of java commands like javac, java, javap or others. To set class path you need to edit Environment Variables, to do that follow the below steps. 1: First go to Control Pane
Read More >>

How to define a class in Java

You need to define a class to write any program in java. Java’s father make rules to define a class in java. 1: There should be just one class in file. ( Recommendation ) 2: Class name and file name should be same. ( Recommendation ) 3: There should be just one public class in a file and file
Read More >>

Item 8: Obey the general contract when overriding equals

Overriding the equals method seems simple, but there are many ways to get it wrong, and consequences can be dire. The easiest way to avoid problems is not to override the equals method, in which case each instance of the class is equal only to itself. This is the right thing to do if any of the foll
Read More >>

Why OOP instead Structural Approach?

This writing will provide you the basics of two main programing approaches : Structural Approach Object oriented Approach   Before starting C++ with OOP it is important to understand the difference between structural approach and OO approach. Here I’ll try to clear the questions which arise i
Read More >>

Java 8 Source Code

Java is Open Source language that’s why developers always released source code of Java to public. Java is going up and releasing new version after improvements. Now Java 8 has released and developers also released the source code as OpenJDK 8 Source Code. I just uploaded source code online to
Read More >>

OUTER JOIN in SQL

INNER JOIN and EQ-JOIN show you just matched record and OUTER JOIN will also show you matched and un-matched record. There are three types of OUTER-JOIN LEFT OUTER JOIN RIGHT OUTER JOIN FULL OUTTER JOIN i:- LEFT OUTER JOIN When you get all record of left table even they matched or not with the right
Read More >>

Fully Checked vs Partially Checked Exceptions in Java

You already know the importance of Exception and exception have different types. Here I’m going to describe you two types of Checked Exception fully checked exception and partially checked exception. To understand this you should learn first about Checked and Unchecked Exception. Fully Checked
Read More >>