Değişkenler Nasıl Deklare edilir

Words
115
Reading
1 min
9y
Listen to this post
~1 min

Merhabalar arkadaşlar, Bu dersimizde değişkenlerin deklare edilmesini anlatmaya çalıştım.Unutmayın işaretçileri veri tipinden sonra " * " işareti kullanmalıyız. Deklare konumuza önem vermeniz gerekmektedir , her derste önümüze çıkacaktır . Dilerimki anlatabilmişimdir . İyi dersler .

Englesh : Hello friends, In this lesson, I tried to explain the declaration of variables. Do not forget to use the " * " sign after the data type of the markers. You have to pay attention to the position of the declaration, every derste will emerge premiere. I can tell my people. Good lectures.

Bu dersimizin Kodları :


package com.com;

public class DegiskenlerinDeklereEdilmesi {

    public static void main(String[] args) {
        int sayi1 = 0, sayi5=571, sayi3=632;
        byte kontrolSayisi = 14, kapanisSayisi;
        double a = 0,b,c = 12.99;
        float d, e= 15.17f  ,    g=(float) 14.53;
        char  karakter= 'a';
        
        System.out.println(sayi1 + sayi3 * sayi5);

        kapanisSayisi = 120 ;
        System.out.println(kapanisSayisi);
        
        System.out.println(c*c+a);
        
        System.out.println(g-e);
        System.out.println(++karakter);
        
        
    }

}

Github : https://github.com/jerdal/DegiskenDeklere

**Youtube : **

Önceki Derslerimiz ( Previous Lessons ) :
1- https://utopian.io/utopian-io/@ilginc/eclipse-selam-genel-egitime-baslangic
2- https://utopian.io/utopian-io/@ilginc/eclipse-java-karakter-tipi-ve-sayisal-tipler
3- https://utopian.io/utopian-io/@ilginc/eclipse-boolen-tipi-anlatimim



Posted on Utopian.io - Rewarding Open Source Contributors