Java – Inheritance

According to my latest post about Inheritance in C++, I am going to explain the same in Java. Let's go: We have to create class CFurniture in file named CFurniture.java (here is the first difference ) and then: Then we create another class called CTable (CTable.java): In main we have to write:

Using the STL Library in C++, part 2 – extension

Last time I wrote something about creating dynamic arrays by using the STL. Today I am going to write more. You already know that to create an array we have to write: And then we want to see what is inside, so: We can also display the size of our array: And then for example … Czytaj dalej Using the STL Library in C++, part 2 – extension