Print Array without using Loops | Java | Quick Tip

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ต.ค. 2024

ความคิดเห็น • 11

  • @greatkingisback
    @greatkingisback 2 ปีที่แล้ว

    Do more programs on string and other concepts as well it helps a lot thanks for vde

  • @mithank2666
    @mithank2666 2 ปีที่แล้ว

    tumba thanks

  • @rahulbisht5
    @rahulbisht5 ปีที่แล้ว

    package Practice;
    import java.util.Arrays;
    public class UniqueValueOfArray {

    public static void main(String[] args) {

    int[] a = {1,2,343,43,33,22,22,3,1,343};

    System.out.println("Array is "+ Arrays.toString(a));

    Arrays.sort(a);
    System.out.println("Array is "+ Arrays.toString(a));



    for(int i=0;i

  • @Rajb-fd4dv
    @Rajb-fd4dv 2 ปีที่แล้ว

    One printing programe like star pyramid

  • @aarulmozhinandhini1540
    @aarulmozhinandhini1540 3 ปีที่แล้ว +1

    Bro can u try to add python programs in your tutorial..!!??

  • @abhiram9849
    @abhiram9849 3 ปีที่แล้ว

    Bro can u explain merge 2 arrays into 1 and split one array into 2

  • @MYWORLD-gg1xq
    @MYWORLD-gg1xq 3 ปีที่แล้ว

    How to store without using loop

    • @BTechComputerScience
      @BTechComputerScience  3 ปีที่แล้ว +1

      U can initialize the array while creating it.
      int a[] = {1,2,3,4,5};