JvmField Annotation in Kotlin

Поділитися
Вставка
  • Опубліковано 25 лис 2024
  • Question: What is a JvmField Annotation in Kotlin?
    Answer: Discussed in the video.
    The best thing about Kotlin is that it is designed with Java interoperability in mind. It means that the existing Java code can be called from Kotlin, and also the Kotlin code can be called from Java. Both ways are supported.
    Today, we will focus on calling the Kotlin code from Java as we want to learn about the JvmField annotation.
    Android Interview Questions & Answers Series
    Playlist: • Android Interview Ques...
    Android Interview Questions: github.com/ami...
    #androiddev #androiddeveloper #interview
    Blog: amitshekhar.me...
    Hi, I am Amit Shekhar, I have mentored many developers, and their efforts landed them high-paying tech jobs, helped many tech companies in solving their unique problems, and created many open-source libraries being used by top companies. I am passionate about sharing knowledge through open-source, blogs, and videos.
    You can connect with me on:
    • Twitter: / amitiitbhu
    • LinkedIn: / amit-shekhar-iitbhu
    • GitHub: github.com/ami...
    Read all of my high-quality blogs: amitshekhar.me...
    Get Mentorship: amitshekhar.me

КОМЕНТАРІ • 19

  • @amitshekhar
    @amitshekhar  Рік тому +6

    Keep Learning, Keep Sharing, and Keep Growing

    • @krrishKrrishna
      @krrishKrrishna Рік тому

      Hi Amit, understanding annotations in java and Android has been removed from the professional course. Have you uploaded it on UA-cam?

    • @amitshekhar
      @amitshekhar  Рік тому +1

      We will check and rectify it. Thanks

  • @gurjotkheeva130
    @gurjotkheeva130 10 місяців тому +1

    Thanks for making these valuable videos for us all. You’re a hero to the Android community!

  • @vamsimadhavh4664
    @vamsimadhavh4664 Рік тому +2

    Hey Amit, Your interview Question list on Github helps a lot, thanks for making this repo.
    learning a lot of things wile preparing for interview.

    • @amitshekhar
      @amitshekhar  Рік тому +1

      I am glad that it is helping developers.

  • @ankiiiiit7866
    @ankiiiiit7866 Рік тому +2

    Great explanation, keep it up with more vedios.

  • @raipurianfooddiary4275
    @raipurianfooddiary4275 Рік тому +1

    Nice Explanation 👌

  • @ajeenasainudeen9380
    @ajeenasainudeen9380 10 місяців тому

    please make video for it, run, apply,with,run blocks

  • @ChandraSekhar-mz8xy
    @ChandraSekhar-mz8xy Рік тому +1

    Awesome++ 💯

  • @qingshuiyang2535
    @qingshuiyang2535 8 місяців тому

    Hi Amit, Thanks for sharing! got a question, does it affect the Kotlin call if add the JvmField annotation

    • @amitshekhar
      @amitshekhar  8 місяців тому +1

      Welcome. No it does not affect the Kotlin call.

  • @preetishsrivastav9785
    @preetishsrivastav9785 Рік тому

    hi amit, I have a question do we need to annotate every field with @JVM Field to not generate its setter or getters as if their are many fields inside a data class it would be too repetitive