If house is a package, I am a sub-class of my father ( parent class ), can I access a method !! .......↓↓↓<check Description🙋🙋 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

If house is a package, I am a sub-class of my father ( parent class ), can I access a method !! .......↓↓↓<check Description🙋🙋

If house is a package, I am a sub-class of my father ( parent class ), can I access a method ?? And if my father has a friend , he can also access the method , if he comes in my house ( means same package )?? So if a friend class is to be made to access a method , it should be in the same package?

1st Sep 2020, 7:28 AM
I M J
I M J - avatar
1 Answer
+ 1
Md. Nasif-ur-Rahman Rimon I don't have any code to ask! I have faced some obstacles which I have experienced, so I have asked ! And what wrong do you find in me asking this question, can you please state !
1st Sep 2020, 7:37 AM
I M J
I M J - avatar