Tag Archives: Java

Similarities between Java and C++

Java and C++ are the two most popular programming languages. Although they have many differences, there are quite a lot of similarities between them. Let us look into the similarities between Java and C++. 1. Comments Comments are same in C++ and Java. Single line comments are done by // and multiple line comments are done by /*…..*/… Read More »

Messages, Aggregation and Abstract classes in OOPS

1. Message Message in OOPS refers to data used during interaction of different objects. The objects interact with each other by passing messages(data). To interact with each other objects do not need to know anything about each other. They just need to know the type of data(message) accepted and the type of data(message) returned by the other object.… Read More »