This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <vector> | |
#include <string> | |
class Veri { | |
public: | |
virtual int getId() = 0; | |
virtual std::string ekranaYazdir()=0; | |
virtual void kopyala(Veri* deger) = 0; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
interface Arayuz{ | |
void metot1(); | |
void metot2(); | |
} | |
abstract class Sinif implements Arayuz{ | |
} | |
class altSinif extends Sinif{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
import java.util.ArrayList; | |
public class Board { | |
private ArrayList<Tas> tasListesi; | |
private int x; | |
private int y; | |
Board(int en,int boy){ | |
tasListesi = new ArrayList<Tas>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
import java.util.ArrayList; | |
public class Board{ | |
ArrayList<Tas> tasListesi = new ArrayList<Tas>(); | |
private int x; | |
private int y; | |
Board(int xy){ | |
x = xy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package UzakService; | |
public interface IListelenebilir { | |
String stringAl(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
import java.io.IOException; | |
import java.nio.charset.StandardCharsets; | |
import java.nio.file.Files; | |
import java.nio.file.Paths; | |
import java.util.ArrayList; | |
import java.util.List; | |
class Ogrenci{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Aşağıda verilen koşulları sağlayan sınıfları istediğiniz bir programlama dilini kullanarak yazınız. | |
Sayi sınıfı: | |
Tam sayı bir değer saklayacak gizli sayi isimli bir özellik | |
sayi özelliğini döndüren bit getSayi() metodu | |
sayi değerine 1-49 arası rastgele bir değer atayacak yapıcı fonksiyon | |
Kolon sınıfı: | |
Sayi sınıfından sayilar dizisi (6 uzunluğunda) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
class Kisi{ | |
private String ad; | |
private int dogumYili; | |
int getDogumYili(){ return dogumYili; } | |
void setDogumYili(int dogumYili){ | |
this.dogumYili = dogumYili; | |
} | |
Kisi(int dogumYili){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package net.emirozturk; | |
public class Main { | |
static String sayiYaz(int sayi){ | |
if(sayi == 1)return "Bir"; | |
if(sayi == 2)return "İki"; | |
if(sayi == 3)return "Üç"; | |
return ""; | |
} | |
static String sayiYaz(String sayi){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
//Dosyadaki her harfi büyütüp yine aynı dosyaya yazan uygulama | |
//dosyayı aç (fp1) | |
FILE *fp1; | |
fp1= fopen("deneme.txt","r"); | |
if(fp1!=NULL){ | |
//ikinci bir dosya aç (fp2) | |
FILE *fp2 = fopen("temp","w"); | |
while(1){//dosya sonuna kadar (fp1) |
NewerOlder