JAVA 例子

package fuck;

import java.util.Collection;

import javax.sound.midi.MidiDevice.Info;

import com.sun.glass.ui.CommonDialogs.Type;
import com.sun.media.jfxmedia.control.VideoDataBuffer;

public class ShuZu 
{
    public static void main(String[] args)
    {

//      Shu();
//      Shu1();
        Zshu();
        Xshu();

    }
    public static void Shu()
    {
        Object[] books;
        books = new String[2];
        {
            books[0] = "do you want";
            books[1] = "give me blowjob";
            for (int i = 0; i < books.length ; i++)
                {
                  System.out.println(books[i]);
                }
        }       
    }
    public static void Shu1()
        {
            Object[] objArr;
            objArr = new String[]{"suck","my","dick"};
            {
                for (int i = 0; i <objArr.length ; i++)
                    {
                        System.out.println(objArr[i]);
                    }
            }
        }/*
    public static void Dshu()
        {
            String[] books = {"show me your tits","cum inside you pussy","creampie"};
            for (String book : books)
                {   
                    System.out.println(book);
                }
        }
    public static void Zshu()
        {
            String[] books = {"show me your tits","cum inside you pussy","creampie"};
            for (String book:books)
                {
                    book = "ruby on rails ";
                    System.out.println(book);
                }
        }   System.out.println(books[0]);*/
    public static void Zshu()
        {
            int[] a = {5, 7 ,20};
            int[] b = new int[4];
            System.out.println("b lenger"+ b.length);
            for (int i = 0 ; i <a.length ; i++)
                {
                    System.out.println(a[1]);
                }
            for (int i = 0 ; i < b.length ; i++)
                {
                    System.out.println(b[i]);
                }
            b = a ;
            System.out.println("b length" + b.length);
        }
    public static void Xshu()
        {
            int[] iArr;  //定义一个数组变量,申请了一个内存空间
            iArr = new int[5]; //动态初始化,分配了5个字节 ,5个都为 0
            for (int i = 0 ;i < iArr.length ; i++)
                {
                    iArr[i] = i + 10;
                    System.out.println(iArr[i] = i + 10);
                }
        }

}

JAVA 例子
最新2020整理收集的一些高频面试题(都整理成文档),有很多干货,包含mysql,netty,spring,线程,spring cloud、jvm、源码、算法等详细讲解,也有详细的学习规划图,面试题整理等,需要获取这些内容的朋友请加Q君样:909038429
/./*欢迎加入java交流Q君样:909038429一起吹水聊天

上一篇:Spring的set注入


下一篇:flask的分页