Nested Lists in Apex | Salesforce Development tutorials for beginners

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

Комментарии • 16

  • @avinashvundemodalu5628
    @avinashvundemodalu5628 3 года назад +1

    Excellent video am searching nested list/set for this..
    Could u upload one more video on nested list..

  • @manojnekkanti845
    @manojnekkanti845 2 года назад

    This vedio is very usefull, and tq u for the vedio

  • @mounikasriram1748
    @mounikasriram1748 3 года назад +1

    Could you please tell me how to display a single value..like a particular index value

  • @gopinathvs5169
    @gopinathvs5169 Год назад

    Should every list in a nested list have same count of index values for it run? Or can it be in different count of values.

  • @shanmaheshwari3648
    @shanmaheshwari3648 2 года назад

    List l1 = new List{2,4,6};
    List l2 = new List{3,6,9};
    List l3 = new List{4,8,12};
    List list1 = new List{l1,l2,l3};
    can we do like this ??

  • @davidi6773
    @davidi6773 2 года назад

    Hi! Can you make a video about nested maps? Thanks!

  • @abaanshaikh8521
    @abaanshaikh8521 3 года назад

    How can you access a particular element from a list ?

  • @umakantsaini9286
    @umakantsaini9286 3 года назад +1

    Hi Shrey,
    In Graduation, I have completed BSc(PCM). And now I'm a CSS Developer with 3+ yrs experience. Can i switch to salesforce. Plz suggest me..
    Plz plz...

  • @terwer-t2s
    @terwer-t2s 2 года назад

    not able to get the result in desired format for 2d . List l12 = new list ();
    List l13 = new List {1,2,3};
    List l14 = new list {4,5,6};
    List l15 = new list {7,8,9};
    l12.add(l13);
    l12.add(l14);
    l12.add(l15);
    system.debug(l12);
    debug only - ((1,2,3),(4,5,6,),(7,8,9)) - can someone help?

    • @RameshKumar-cc8du
      @RameshKumar-cc8du Год назад

      instead of system.debug(l12) directly, you can try this instead to get the 2d format
      System.debug(l12[0]);
      System.debug(l12[1]);
      System.debug(l12[2]);
      hope you get it.

  • @tonaadefokun1
    @tonaadefokun1 2 года назад

    I keep getting this error: Initial expression is of incorrect type, expected: List but was: List Can anyone help?

    • @megheshshenoy
      @megheshshenoy 2 года назад

      Here its is :
      The data type you defined is [ [[1,2,3],[2,3,5],[....]] ]but what you are trying to insert in it is [1,2,3] so it should be List of Integers into another List

  • @nareshkandregula7124
    @nareshkandregula7124 2 года назад

    Can you please provide notes?