Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword or section
Like this
3Activity

Table Of Contents

0 of .
Results for:
No results containing your search query
P. 1
Java Programlama Dili

Java Programlama Dili

Ratings: (0)|Views: 1,093|Likes:
Published by serkan
SERKAN SİMSEK
SERKAN SİMSEK

More info:

Published by: serkan on Apr 01, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

01/31/2013

pdf

text

original

 
BY Ahmet Tolga Tat Sayfa
1
 
JAVA
ile programlama
 
Beta
Version 4.0
 
BY Ahmet Tolga Tat Sayfa
2
 
Aciklama
Bu dökümanlarin hazirlanis amaci Java ögrenmek isteyenlereyardimci olmak icindir.Bu dökümanlar tek basina kaynak olarakkullanilamaz.Kitap icersinde bir cok yazim hatasi vardir vekitap hic bir ticari amac icin kullanilamaz.Zamanim oldukcaJDBC,Corba,RMI,XML JSP ve EJBkonularina dahacok döküman hazirlayacagim.Kitap icersindeki hatalar icin bana mail atabilirsiniz.
E-Mail:webmaster@turksoft.8m.com
 
Icindekiler
Java’yi taniyalim............................................................................................................................5
 
Java nedir?.....................................................................................................................................................................................5
 
Özellikler.......................................................................................................................................................................................5
 
Geliºtirme & Uygulama..............................................................................................................................................................9
 
Java Virtual Machine (JVM)....................................................................................................................................................11
 
JDK Kurulumu...........................................................................................................................................................................12
 
Java’ya giris.................................................................................................................................15
 
Ýlk Java uygulamamiz................................................................................................................................................................15
 
Java’da girdi ve Cikti islemleri(I/O).......................................................................................................................................20
 
Java’nin temel yapisi.................................................................................................................................................................22
 
Degiskenler ve Türler..................................................................................................................24
 
Tamsayilar...................................................................................................................................................................................24
 
Karakterler(Characters).............................................................................................................................................................25
 
Virgüllü sayilar(floating points)..............................................................................................................................................25
 
Mantiksal degerler(booleans)...................................................................................................................................................26
 
Strings islemleri..........................................................................................................................................................................26
 
String Manipulasyonu...............................................................................................................................................................29
 
StringBuffer Nesnesi.................................................................................................................................................................30
 
Deðiþkenlerin Ýlk Deðerleri......................................................................................................................................................31
 
Diziler(Arrays)............................................................................................................................................................................32
 
Java’da operatörler.....................................................................................................................34
 
Artýrma ve Eksiltme...................................................................................................................................................................34
 
Karþýlaþtýrmalar..........................................................................................................................................................................34
 
Deðer Atamalar..........................................................................................................................................................................35
 
Operatör öncelik tablosu...........................................................................................................................................................35
 
Özel Karakterler.........................................................................................................................................................................35
 
Java’da kontrol............................................................................................................................37
 
If,else kaliplari............................................................................................................................................................................37
 
Koºul kalibi.................................................................................................................................................................................38
 
Switch kalibi...............................................................................................................................................................................38
 
Break ve Continue komutlarý..................................................................................................................................................42
 
Döngü kaliplari...........................................................................................................................................................................45
 
for döngüleri................................................................................................................................................................................45
 
while döngüleri...........................................................................................................................................................................47
 
do-while döngüleri.....................................................................................................................................................................48
 
Nesneye yönelik............................................................................................................................51
 
 
BY Ahmet Tolga Tat Sayfa
3
 
Class(sinif) nedir?......................................................................................................................................................................51
 
Sýnýf Olusturma..........................................................................................................................................................................52
 
Sýnýf Tanýmlanmasý....................................................................................................................................................................53
 
Üye degiskenlerinin tanimlanmasi..........................................................................................................................................56
 
Method Tanimlanmalari............................................................................................................................................................58
 
Kalitim Nedir?............................................................................................................................................................................64
 
Methodlarý Yenilendirmek.......................................................................................................................................................66
 
Nesne(Object) Nedir ve Ne ise yarar?....................................................................................................................................67
 
Mesajlar.......................................................................................................................................................................................68
 
Java’da çöp toplama(Garbaje Collection)..............................................................................................................................69
 
Java’da alt sinif ve miras(Inheritance)....................................................................................................................................69
 
Java’da öne geçme ve aþiri yükleme......................................................................................................................................71
 
This & Super...............................................................................................................................................................................71
 
Tanimsiz siniflar(Abstract Classes)........................................................................................................................................72
 
Java’da ulaþim kontro............................................................................................................................................................74
 
Static degiskenler ve Metodlar.................................................................................................................................................75
 
Java’da paketler(Packages)......................................................................................................................................................75
 
Arayüzler(Interfaces).................................................................................................................................................................77
 
Exceptions...................................................................................................................................................................................77
 
Java’da hata idaresi....................................................................................................................................................................77
 
Multithreading.............................................................................................................................80
 
Giris..............................................................................................................................................................................................80
 
Thread Nedir?.............................................................................................................................................................................81
 
Coklu Thread uygulamasi.........................................................................................................................................................82
 
Thread Öncelikleri ve Thread Zamanlamasi.........................................................................................................................84
 
Thread eszamanlama.................................................................................................................................................................86
 
Runnable Interface (Calistirilabilir Arayüz)..........................................................................................................................92
 
Java Utilities.................................................................................................................................95
 
Vector Class'i ve Enumeration Özelligi.................................................................................................................................95
 
Stack Class'i................................................................................................................................................................................99
 
Hashtable Class'i.....................................................................................................................................................................102
 
Properties Class’i.....................................................................................................................................................................105
 
Random Class'i........................................................................................................................................................................105
 
Bit Islemleri ve Bitwise Islemcileri......................................................................................................................................106
 
BitSet Class'i............................................................................................................................................................................110
 
Exception Handling...................................................................................................................113
 
Java’da hata yakalamanin temelleri.....................................................................................................................................113
 
Exception cesitleri...................................................................................................................................................................114
 
Exception handling’deki blok tanimlari.............................................................................................................................115
 
Yeni Exception siniflari yapma............................................................................................................................................118
 
Java Metodlari...........................................................................................................................121
 
Java 'da Program Modulleri...................................................................................................................................................121
 
Metodlar....................................................................................................................................................................................122
 
Rastgele Sayi Türetme...........................................................................................................................................................124
 
Recursion ve Iterasyon...........................................................................................................................................................127
 
Method Overloading...............................................................................................................................................................127
 
Applet Siniflarinin Metodlari................................................................................................................................................128
 
Java Lang...................................................................................................................................129
 
 java.lang.Math.........................................................................................................................................................................129
 
 java.lang.Character.................................................................................................................................................................130
 
 java.lang.Integer......................................................................................................................................................................131
 
 java.lang.Float..........................................................................................................................................................................132
 
 java.lang.String........................................................................................................................................................................133
 
 java.lang.StringBuffer............................................................................................................................................................135
 
Java AWT...................................................................................................................................137
 
Frame.........................................................................................................................................................................................137
 
Panel..........................................................................................................................................................................................138
 
Düzenleme Menejeri(layout manager)................................................................................................................................139
 

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->