similarities

Java’s Print similarities to C

As we know that java is made by the C programming. The java has many common features to C language. While we wants to print in java we usually use the following code.

But there is also the feature of printf in java which we used to do in C programming:

Syntax:

For eg:

which outputs like this in C :
c-out

But in JavaRead More »Java’s Print similarities to C