Тэги:
#android #smartherd #Kotlin #kotlin_android #constructors #secondary_constructors #class #objects #oop #programming #init_block #kotlin_for_beginners #kotlin_tutorial #kotlin_tutorial_for_beginnersКомментарии:
wow
ОтветитьGood tutorial, but I don't know why Kotlin decided to do all this complicated crap, What Java has is much more elegant and simple
ОтветитьHi
@ 3.37 you are specifying that we cannot access id inside the init block.
I suspect you are incorrect.
can u please provide some clarification on that.
Kotlin constructor concept is a total 💩....🤮🤮.. Java constructors is much better and user friendly🥰...
ОтветитьLike! You Deserve it!
Ответитьsir you are simply the best
ОтветитьNow every time i would hear words 'right' 'simply' I remember this video
ОтветитьDoes anione have any task/exercises for this level of knowledge so I can practice? Thanx
Ответитьthanks my friend
ОтветитьWhat about if i not declare the primary constructer beside the class name and declare it as constructer in the class body is that means my constructer is a primary?
ОтветитьGreat job!
ОтветитьI am here 2020
ОтветитьHello so how can we do for the value of the id to be 10 . Else there will be no point of using the secondary constructor. please explain!
Ответитьyou have not explained why we are doing this or that you just write the code , read it and showing some errors
"seedhe sabdo me logo ka kata ja rha he yha XD"
Can we have secundary constructors that dont have any similar parameters with the first one? like in java?
ОтветитьI didnt get this(n) how it's calling primary constructor
ОтветитьHow to create a blank reference of any class ?
I need a reference to traverse through my Linked List.
Super, nice explanation. Thank you
Ответитьvery thanks
Ответить