Java is almost the same as C++. The basic operators, data types are the same. The same loops, datas, operators. important differences
We can't write
bool a;
instead of bool we write boolean.
The others are the same except for System.out.print
There are also some difficulties in reading data , we will learn about it later.
one important difference is that we don't have to import(include) String class, it is a default class.
No comments:
Post a Comment