added java & fixed z7

This commit is contained in:
marcin 2019-05-13 14:44:34 +02:00
commit d9bc3c5fa4
6 changed files with 21 additions and 0 deletions

1
POB_Java/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.class

0
zad2_2 Executable file → Normal file
View File

0
zad3_1 Executable file → Normal file
View File

0
zad5_1 Executable file → Normal file
View File

BIN
zad7_2 Normal file

Binary file not shown.

20
zad7_3.cpp Normal file
View File

@ -0,0 +1,20 @@
#include <iostream>
using namespace std;
template <typename type>
class Array {
private:
type* ptrs;
Array(){}
~Array(){}
public:
Array& operator new [](){
Array();
return *this;
}
void operator delete [](){
~Array();
}
}