The bugs of programming
- In C++ language,
Int a = 1, b = 3;
Int c = a/b;
Then c is zero. It is not 1/3.
2. In java language,
B is inherited from A,
C is inheited from B,
We can A = (A) C, we can’t C = C(A)
Int a = 1, b = 3;
Int c = a/b;
Then c is zero. It is not 1/3.
2. In java language,
B is inherited from A,
C is inheited from B,
We can A = (A) C, we can’t C = C(A)