I've watched many of your videos, they are truly amazing and very useful for the people to crack interviews, do you maintain any kind of material to share so that it becomes more helpful!
@shalinijha7644 жыл бұрын
Hi, your videos are very informative,short and useful. keep up the good work. Thanks!!
@nitinagrawal66374 жыл бұрын
At 5:44 - Are you sure you achieve encapsulation the way you have told? At 18:43 - An Abstract class can have constructor also. At 20:20 - Since Java8, difference of providing the default implementation in Abstract class is no more a difference. At 21:20 - Map is still not direct part of Collection hierarchy.
@ByteProgrammingVedantHarish4 жыл бұрын
@Nitin : 1. How you suggest to achieve encapsulation ? 2. Yes, Abstract class can have constructor. If you do not add, it would be added by default. But Can you create object of Abstract class? 3. Default methods are part of Interface. I still do not get your point. 4. Yes, Maps are not part of Collection.
@nitinagrawal66374 жыл бұрын
@@ByteProgrammingVedantHarish 1) For this one needs to understand the meaning of Encapsulation & Abstraction first. 2) You can't create the object for both Abstract class & Interface, so that's not the difference. But you can have the constructor in Abstract class and not allowed for an Interface, that is part of difference. 3) Right, now via default methods in Interface, one can provide some default implementation in Interfaces also like Abstract class. 4) I pointed that, because most time it is not told, rather Maps are told as part of Collection. One can say Map as a Collection but must also be aware about that subtle point.
@azharmobeen4 жыл бұрын
I feel there is a small correction. at 12:50 if you pass null for overloading example then there will not be any compile time error and it will call string method.
@ByteProgrammingVedantHarish4 жыл бұрын
No, It would give compilation error. Both the arguments data type (String & Integer) can take null. So compiler would be not available to decide which method to call.
@radiodjcy4 жыл бұрын
@@ByteProgrammingVedantHarish I just tried it, it doesn't give an error
@manasdeora46014 жыл бұрын
Your videos are really helpful. Can you make an informative video that can tell how much package one can expect if he is a spring-boot developer with all range of experiences.
@ByteProgrammingVedantHarish4 жыл бұрын
@Manas Lots of factor come into place when you try negotiate for package. Most common that affects directly are : i) Your college (Ex: Tier-I college have higher range to offer than Tier-II. ) ii) Existing offer letter, if have any, you can ask above that package iii) In hand-salary of your last company. Some company do not bother about variable pay. iv ) Last but most important, feedback of your interviewer or client. Hope it helps.
@munigadapa4 жыл бұрын
Very nice explanation
@vishnugovindan85504 жыл бұрын
15:36 In your overriding example, in Videos class, your overridden watchOverloadingVideo(int num) is returning int. Wont this cause a compilation error because return type is not the same as parent class method or a covariant type?
@ByteProgrammingVedantHarish4 жыл бұрын
Hey Vishnu, Thanks for marking out error. While Reusing the previous example, return type got changed.
@vrushalishinde71464 жыл бұрын
Sir thank you so much for informative video... Please provide the interview questions on spring and collection and multithreding..
@ByteProgrammingVedantHarish4 жыл бұрын
Sure! Stay tuned!
@saurabhkailashchandrapuran86094 жыл бұрын
appreciate you efforts but you have covered very less questions. pls make more video on core java interview question and answer as similar this video.
@bhargavhr88344 жыл бұрын
Fantastic content
@Shiva-zy7jq4 жыл бұрын
Thank you. It is helpful.
@Ravikumar-gj6qw4 жыл бұрын
at time 14.17 the Example.java:11: error: no suitable method found for showMsg(Example) example.showMsg(new Example()); ^ method Example.showMsg(String) is not applicable (argument mismatch; Example cannot be converted to String) method Example.showMsg(Integer) is not applicable (argument mismatch; Example cannot be converted to Integer) 1 error
@neerajrajak61504 жыл бұрын
Very Informative, and concepts cleared so well. Thank you so much
@ByteProgrammingVedantHarish4 жыл бұрын
Glad it was helpful!
@adrianbuzee97742 жыл бұрын
Hi! what is the purpose of making a public set method, dont you break encapsulation by doing so? I think you do. If you agree with me, you should make a pop up banner and correct this. Cheers!
@Ravikumar-gj6qw4 жыл бұрын
bro overloaing is also possbile in different class in industry everyone mistaking this OCJP question tq for this tuturials
@ByteProgrammingVedantHarish4 жыл бұрын
How overloading is possible for 2 different class ? Please brief
@Ravikumar-gj6qw4 жыл бұрын
@@ByteProgrammingVedantHarish through subclass in same file or other file by using extends keyword with same functionalty, like finding the area of rectangle or square, one is parent version and other is child version
@deepakjava35064 жыл бұрын
Awesome
@sreeni4344 Жыл бұрын
Inheritance --- small correction its extends keyword not extend
@yoshitamahajan3534 жыл бұрын
Thank u so much please make video related to spring n springboot..
@ByteProgrammingVedantHarish4 жыл бұрын
Sure! Stay tuned!
@ussharma14 жыл бұрын
it will throw compile-time error, as ByteProgramming is not of type String. The content was really helpful and clearly presented, please provide interview Question/Preparations set for Collections, Multithreading.
@ByteProgrammingVedantHarish4 жыл бұрын
@Ullas Good to know! you liked the content. Stay tuned !
@MrLuk9194 жыл бұрын
Nice compilation. Could you provide design pattern questions also
@ByteProgrammingVedantHarish4 жыл бұрын
Sure! Stay tuned.
@bhimraosudrik66644 жыл бұрын
I tried and found that byte.watchOverloading(null); will not give the compiler error with Java 8. It will call the method of String parameter.
@ByteProgrammingVedantHarish4 жыл бұрын
@Bhimrao Sudrik : Have you used "String" and "Integer" as parameter data type? It will give below error : Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method operation(String) is ambiguous for the type Byte Check this video : kzbin.info/www/bejne/iofPfJeuoJ1on9U
@bhimraosudrik66644 жыл бұрын
@@ByteProgrammingVedantHarish I tried with int .
@bibhuprasadmohanty89074 жыл бұрын
sir, plz provide more interview about collection
@ByteProgrammingVedantHarish4 жыл бұрын
Sure ! Stay tuned
@simhaitschool15564 жыл бұрын
Hi please provide more interview questions on collections and multithreading concepts
@ByteProgrammingVedantHarish4 жыл бұрын
Working on it. Stay tuned!
@KajalGupta-mi3sg4 жыл бұрын
Too much advertisement bro
@ByteProgrammingVedantHarish4 жыл бұрын
@Kajal Let me check! Stay tuned!
@bibhuprasadmohanty89074 жыл бұрын
sir plz provide more interview question about collection