- Software Developer / Computer Science and Math | Mobile and sometimes Go.
emrbli / java-intermediate Goto Github PK
View Code? Open in Web Editor NEWTemel Java Komutları - Basic Java Commands
Temel Java Komutları - Basic Java Commands
/*
/**
*
@author Kemal
*/
public class IlkJava {
/**
@param args the command line arguments
*/
public static void main(String[] args) {
// TODO code application logic here
System.out.println("Kemal");//Java'da büyük küçük harf önemlidir >> System gibi.
int a=10;//int sayı değişkeni içindir.
int kemal;//değişkenin içine bir değer atamadanda değişken yazılabilir.
kemal=10;//diyerek sonradan bu değişkeni değerlendirebiliriz.
System.out.println("Merhaba Dünya "+kemal);//diyerek değişkeni yazdırabiliriz.
/*Çıktımız >>
Kemal
Merhaba Dünya 10 << şeklinde olacaktır.
*/
kemal=20;//Burda değişkenin içindeki değeri sonradan değiştirdik Java'nın bir özelliğidir.Değişken bir kutu olarak düşünebilriz.
System.out.println("Merhaba Dünya "+kemal);
/*Çıktımız >>
Merhaba Dünya 20 << Şeklinde olacaktır.
*/
float pi=(float) 3.14;//float veri tipi ondalık sayılar içindir yalnız (float pi=3.14) yazarsak hata alrız 3.14 bir doubledır
//double olan sayıyı floata çevirmek için atadığımız sayının önüne (float) yazdık. double pi=3.14 şeklinde yazabiliriz.
//double ile float ın farkı veri boyutudur.
String s="Benim ismim Kemal ";//String dizgiler içindir yanı harf karakteri içerir. >> 'S' büyük yazılır.
System.out.print(s+" pi:"+ pi);// Çıktımız >> Benim ismim Kemal pi:3.14 << şeklinde çıkacaktır.
//Kaynak/Source>>BilgisayarKavramları
}
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.