Default is only within package, Not from anywhere like public. Protected can be accessed within own package and also in different package but the class must be inheriting the class where it is defined as protected
@naveenm6604 Жыл бұрын
Pp0
@naveenm6604 Жыл бұрын
...
@kiranshetty5011 Жыл бұрын
I guess outside the package also we can but only by creating instance of the class not by inheriting
@sourjadhar9332 Жыл бұрын
If we use different package then public and protected helps.only....and protected helps only if we use sub class....creating instance would not help in protected ..as well as default when it comes to different package
@ambikeya_tech4 ай бұрын
Thanks for sharing valuable insights! Great resource for preparing interviews in top IT companies. Appreciate the comprehensive list of core Java questions and answers.
@syedtanzeelHCADАй бұрын
question no. 16 a file should have only one public class but here you mentioned two "public class Arithmatic and public class Main "
@status__world...9038 Жыл бұрын
What a explanation bro well done Keep in extra 20 or 30 Questions and answers please I humble request ❤❤❤❤
@vamsikrishnachekka858 ай бұрын
Sir,you are helping freshers and we all thankful to you.😊😊😊
@shraddhahulle Жыл бұрын
Thanks for such a amazing explanation😊🙏👏
@priyambadapreeti1621Күн бұрын
Thank u so much sir for this valuable video 😊
@jakubdudek41332 жыл бұрын
Maybe I'm picking on, but why so many people that are explaining basic Java's stuff used to give confused explanation about "final" keyword? Value of final variable can be change if it references to an object! Object itself does not become inmutable because of that keyword. The whole point of "final" is that you cannot change the reference itself that was once initialized/pointed! Apart from that little ambiguity I really like this video. :)
@jonathanjohn-wp4hd8 күн бұрын
tbf he did say variable and not object
@asha4355Ай бұрын
Watching this video 1hr before my interview..and regretting y i dint get this video before n early....😢...super explanation sir... 🙏👌
@CareerRideOfficialАй бұрын
Hope it helped. All the best!
@le226younuskhan86 ай бұрын
thank you for great explaination sir 😇
@shaikdilshath8955 Жыл бұрын
Thanks for you clear Explantion
@yashupadhyay10233 ай бұрын
sir, in question 9 example of method overloading you gave example of myMethod function which has different return data type, one has int and one has double! so can method overloading can happen if there is different return data type of method??
@manasikamble4943Ай бұрын
Great explanations !
@gundashanthi72503 ай бұрын
Thank you so much It is so helpful 😊
@divyaagarwal3091 Жыл бұрын
Thankyou so much sir
@kishorebabu2077 Жыл бұрын
what is diff between No arg constructor & default constructor?
@SanhNguyen-cw7ry Жыл бұрын
Same question
@divyabalakrishnan7253 Жыл бұрын
Class test { Int a ; test (){ //no argument constructor Sout (“a”+a); } test (int b) { this.a=b; //parameterized constructor } } Main class { Psvm (String args[]) { test obj=new test (5); }}// while creating obj we mentioned the class name that one is called default constructer 😅iam not sure about this but i tried my level best thank you
@surabhisahu1231 Жыл бұрын
Only difference is if you're going to write your code without any constructor then jvm(compiler) will automatically create a default constructor and no argument constructor means you have to define a constructor without any parameters.
@aslam-kg4xo Жыл бұрын
If you do not declare a constructor explicitly, the compiler automatically assigns a default constructor to the class. And that constructor is a no args constructor. That is why you are able to create a class with empty brackets even if the class doesn't have any constructor. Simply put, if you don't declare a constructor in a class, there will be a default no arg constructor.
@jayyptll Жыл бұрын
default constructor apne app bnta he means vo declare kro na kro ban jata he , aur tumhe agar no arg constructor means agr without arg new koi object bane to tum kya krvana chahte ho tab , uske liye vo tum no arg const me likh skte ho ki- Ex, koi new object bane jisme koi arg nhi dale the to fir bhi tum kuch msg print krvana chahte ho ki u created new object , to vo tum no arg constructor me likh skte ho , or ye kam tum default constructor me nhi kr skte kyuki vo to apne aaap create hoga usme tum kuch changes nhi kr skte abbhi hmne kiya ki new object bne tab new object creatd msg pass ho to vo default const se tum asa nhi kr paoge.
@milindpendkar3294 Жыл бұрын
Nice for core interviewer ask questions me on platform independent .
@pratikshakadam4234 Жыл бұрын
2nd and 3rd question making confusion.... In JVM and Compiler
@sumitkumarbarik391928 күн бұрын
Thank You Sir 🙏🏼🙏🏼🙏🏼🙏🏼🙏🏼
@user-pk8uu4nq3z Жыл бұрын
Explanation is nice,Thank you sir
@CareerRideOfficial Жыл бұрын
Thank you. Stay connected
@charu1611 Жыл бұрын
Perfect explanation....
@RajaReddy-ob2wk Жыл бұрын
Nice presentation Thanks
@pratikshashinde12006 ай бұрын
Sir very help full video
@JaiganeshP-wl1ns2 ай бұрын
Thanks brother
@mallikarjunpujari1905 Жыл бұрын
Can you tell mee some programming languages which deals ECE
@suriya2023 Жыл бұрын
Sir I go for interview so I need the question and answer for freshers
@bhagyashreebehera61634 ай бұрын
Hii I m also now applying for jobs..So can u help what kind of questions they ask
@bandreddijayanth24566 ай бұрын
Bro numpy and panda packages raakapote dsa ki python choose cheyyochha
@uttkarshkumar124111 ай бұрын
Great content ❤
@akki-xz2li6 ай бұрын
Is this questions are enought for tcs nqt interview? Can you plz reply
@masterikrav2 жыл бұрын
A 30mL of alcohol solution is made of 60% water. How much of this solution must be replaced with a 90% alcohol solution so that the resulting solution has an alcohol content of 60%? Sir please help with this Q
@viseshbentula715 Жыл бұрын
The solution for "x" is 0 mL. This means that no amount of the original solution needs to be replaced with the 90% alcohol solution to achieve a resulting solution with 60% alcohol content. The original solution already contains the desired alcohol content of 60%, and adding any amount of the 90% alcohol solution would only alter the original composition. i still have no idea y i ansd this q
@sumanghoraiofficial2 жыл бұрын
Thank you sir
@CareerRideOfficial2 жыл бұрын
All the best
@asharmehmood301 Жыл бұрын
Thanks
@shraddhapotdar1122 Жыл бұрын
Sir please help in the programs also
@prasadjoshi40092 жыл бұрын
Thanks for this amazing video... 👍
@CareerRideOfficial2 жыл бұрын
Glad you liked it
@mohamedrasheeds2 жыл бұрын
Can we use calculator in aptitude test in IT
@CareerRideOfficial2 жыл бұрын
No, you won't be allowed
@naveen_arush444 Жыл бұрын
Yes, not only calculator now days u can also use mobile 🤭😝
@RohanSingh-my3nl Жыл бұрын
Nice ❤
@abhishek.bansal05 Жыл бұрын
Very nice videos
@CareerRideOfficial Жыл бұрын
Thank you so much 😀
@ramjan2Khan321 Жыл бұрын
Where are copy constructor
@pallavigaikwad8313 Жыл бұрын
Copy constructors are nothhing but object created by using another object
@kanishkamahalakshmi77913 ай бұрын
Hi sir i need a coding round questions. pls
@jayyptll Жыл бұрын
There's no array que , for loop que , comparator comparable and many things are not in this video
@ganagani1041 Жыл бұрын
Hi sir, I'm diploma student I'm writing wipro exam after that I'll have interview this video is use for me...
@CareerRideOfficial Жыл бұрын
Great!
@ganagani1041 Жыл бұрын
@@CareerRideOfficial is this video uses for me sir ??
@ozcankucuk90089 ай бұрын
Hello, how can I listen to these videos in Turkish?
@rampraveen7002 Жыл бұрын
Sir I am fresher I need tha questions and answers
@CareerRideOfficial Жыл бұрын
Sure, please stay connected
@Vijaykushwahaarmy Жыл бұрын
A package in java is used to group related class are it is a collection of related interface
@4DoorsMoreHoes. Жыл бұрын
Method overriding?
@ashutoshrai2717 Жыл бұрын
Sir is these questions are enough for freshers interview?
@NorwayAbbai Жыл бұрын
and some 5-6 basic codes
@ashutoshrai2717 Жыл бұрын
@@NorwayAbbai nahi bhai ye bhi kaafi nahi hai
@NorwayAbbai Жыл бұрын
@@ashutoshrai2717 I have gone through 7 interviews the same questions are asked in a confusing manner in my opinion these are enough
@NorwayAbbai Жыл бұрын
@@ashutoshrai2717 did you go through any interviews recently?
@ashutoshrai2717 Жыл бұрын
@@NorwayAbbai yes
@ram58772 жыл бұрын
Thank you sir ❤
@mallikarjunpujari1905 Жыл бұрын
Iam studying in BTech 1St year ECE group
@tarunteja4127 Жыл бұрын
Enjoy your btech and after never judge the career with non sense package.experience your zeal to work in your dream job.
@sureshampavilli3941 Жыл бұрын
😂😂😂😂
@defenceloverupadhyay965911 ай бұрын
Bro any one Can tell me constructor returns any value
@SagayaJeswanth9 ай бұрын
Sir what java operator
@Mahi095 Жыл бұрын
Please provide us PDF sir
@ravindrakumartanwar2617 Жыл бұрын
in.question 2 what is difference between.bite code n machine code
@virendrabareliya4323 Жыл бұрын
Byte code ko sirf java hi samjh sakta h
@sigmagang Жыл бұрын
4:01
@anshrajpoot50632 жыл бұрын
Thank u sir
@CareerRideOfficial2 жыл бұрын
All the best
@dhanashri777vlog Жыл бұрын
👍
@Reddyfitnes6 ай бұрын
Hii i am a bcom student can get java developer
@vojjamahender90605 ай бұрын
Same bro
@hameedhameedemahameed5 ай бұрын
Why not bro
@sujitkumarsahoo294511 ай бұрын
can static method override?
@chikki71359 ай бұрын
No
@mallikarjunpujari1905 Жыл бұрын
Hello sir
@k.rajasekhark.rajasekhar34043 ай бұрын
❤
@duedares Жыл бұрын
10:49: A method must have a return type. Funniest shit I have read today :xD
@CareerRideOfficial Жыл бұрын
Java requires that a method declare the data type of the value that it returns. If a method does not return a value, it must be declared to return void.
@chetanmaskara8565 Жыл бұрын
What's so funny? It is mandatory to specify return type of a method in Java.
@kaushik45714 ай бұрын
Ohh@@chetanmaskara8565
@Accidental_Engineer Жыл бұрын
.
@bandreddijayanth24566 ай бұрын
Bro numpy and panda packages raakapote dsa ki python choose cheyyochha