Java Random Kullanımı
package blog.emrahkahraman.com.tr; import java.util.Random; public class RandomKullanimi { public static void main(String[] args) { // Random nesnesi olusturduk Random r…
package blog.emrahkahraman.com.tr; import java.util.Random; public class RandomKullanimi { public static void main(String[] args) { // Random nesnesi olusturduk Random r…
package blog.emrahkahraman.com.tr; import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.image.BufferedImage; import java.io.IOException; import java.net.MalformedURLException; import java.net.URL; import javax.imageio.ImageIO; import javax.swing.ImageIcon;…
import java.util.Random; public final class MaxSumTest { public static int maxSubSum1( int [ ] a ) { int maxSum =…
package blog.emrahkahraman.com.tr; import java.util.Scanner; public class DiziKullanimi { static int [] sayi=new int[9]; static int [][] coklusayi=new int [3][3]; static…
public class RakamiYaziyaCevir { private static final String[] birler = { "", "bir", "iki", "üc", "dort", "bes", "alti", "yedi", "sekiz",…
public class Fibonacci { public static void main(String[] args) { Fibonacci f=new Fibonacci(); System.out.println("8. fibonacci sayisi: "+f.fibo(8)); } private int…
import java.util.*; public class IkiliGösterim { public static void main(String[] args) { int sayi = 0, taban = 2; System.out.print("Pozitif…
import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.StringTokenizer; public class ReadGraph { public static void main(String[]…
import java.awt.Container; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.print.Doc; import javax.print.DocFlavor; import javax.print.DocPrintJob; import javax.print.PrintException; import javax.print.PrintService; import javax.print.PrintServiceLookup; import javax.print.attribute.HashPrintRequestAttributeSet;…
Javada musteri paketinin içinde Kisi adında bir sınıfımız var biz dinamik olarak (çalışma esnasında) bu sınıftan nesne elde etmek istiyoruz….
import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; public class DosyadanOku { public static void main(String[] args) throws IOException {…
İndir http://www.box.net/shared/u6c6u9xree