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!
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.
@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.
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.
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.
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.
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
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.
@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.
@@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.
@@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
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!
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?
@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 : ua-cam.com/video/TVlKdxk85is/v-deo.html
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!
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.
@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.
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.
Hi, your videos are very informative,short and useful. keep up the good work. Thanks!!
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.
@Ullas Good to know! you liked the content. Stay tuned !
Sir thank you so much for informative video... Please provide the interview questions on spring and collection and multithreding..
Sure! Stay tuned!
Very Informative, and concepts cleared so well. Thank you so much
Glad it was helpful!
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.
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.
@@ByteProgrammingVedantHarish I just tried it, it doesn't give an error
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
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.
@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.
@@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.
bro overloaing is also possbile in different class in industry everyone mistaking this OCJP question tq for this tuturials
How overloading is possible for 2 different class ? Please brief
@@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
Inheritance --- small correction its extends keyword not extend
Very nice explanation
Thank you. It is helpful.
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!
Thank u so much please make video related to spring n springboot..
Sure! Stay tuned!
Nice compilation. Could you provide design pattern questions also
Sure! Stay tuned.
Fantastic content
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?
Hey Vishnu, Thanks for marking out error. While Reusing the previous example, return type got changed.
sir plz provide more interview question about collection
Sure. Stay Tuned!
Awesome
Hi please provide more interview questions on collections and multithreading concepts
Working on it. Stay tuned!
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.
@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 : ua-cam.com/video/TVlKdxk85is/v-deo.html
@@ByteProgrammingVedantHarish I tried with int .
Too much advertisement bro
@Kajal Let me check! Stay tuned!
sir, plz provide more interview about collection
Sure ! Stay tuned