Değişken boyutlu diziler , Eclipse

in #utopian-io7 years ago (edited)

Merhabalar arkadaşlar, Bugünkü dersimizde size degişken boyutlu diziler den bahsettim . Derslerimizde hiç eksik bırakmadan devam etmeye çalışıyoruz . Java hakkında hiçbir şekilde eksik kalmayacağız . Bütün konularına sahip olacağız . Diziler konusunun 3. dersi ile devam ediyoruz . İyi dersler .

Hello friends, In today's class, I told you about variable-size arrays. We are trying to continue our lessons without ever missing. We will not be missing anything about Java. We will have all the issues. We continue with the third lesson of the series. Good lectures.

Bu dersimizin Kodları :



package com.yazilimvideo;

public class DegiskenBoyutluDiziler {

    public static void main(String[] args) {

        int sayiIkiBoyutlu[][] = new int[3][]; // i j

        sayiIkiBoyutlu[0] = new int [1];

        sayiIkiBoyutlu[1] = new int [2];

        sayiIkiBoyutlu[2] = new int [3];
        
        
        for (int i = 0; i < 3; i++) {
            for (int j = 0; j < i+1; j++) {
                sayiIkiBoyutlu[i][j] = i + j * 2;
            }
        }

        for (int i = 0; i < 3; i++) {

            for (int j = 0; j < i+1; j++) {

                System.out.print(sayiIkiBoyutlu[i][j] + " ");
            }

            System.out.println();
        }

    }

}



Github :

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
4- https://utopian.io/utopian-io/@ilginc/degiskenler-nasil-deklare-edilir
5- https://utopian.io/utopian-io/@ilginc/dinamiklik-deger-atamasi-eclipse
6- https://utopian.io/utopian-io/@ilginc/kapsam-alanlari-ve-degiskenlerin-yasam-suereleri
7- https://utopian.io/utopian-io/@ilginc/tip-doenuesuemleri-degiskenler-son-konumuz
8- https://utopian.io/utopian-io/@ilginc/tek-boyutlu-diziler-diziler-konusu-baslangic
9- https://utopian.io/utopian-io/@ilginc/iki-boyutlu-diziler-eclipse-diziler-ders-2
10- This lesson



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Thank you for return .

Hey @ilginc I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x