Last active
August 30, 2019 06:16
-
-
Save denizfurkan/85a832ddde36f97ab6a667df6fccacfd to your computer and use it in GitHub Desktop.
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
public class Main { | |
public static void main(String[] args) { | |
ArrayList<Konut> list = new ArrayList<Konut>(); | |
list.add(new Konut(180, "Emlakçı")); | |
list.add(new Konut(120, "Sahibinden")); | |
ArrayList<String> list2 = new ArrayList<String>(); | |
list2.add("Furkan"); | |
list2.add("Alp"); | |
list2.add("Kaya"); | |
Konut k1 = list.get(1); | |
double f = k1.fiyatHesapla(); | |
String str = list2.get(0); | |
int u = str.length(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment