Array value issue | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Array value issue

So i have a created a public array in a class(lets call it original) that is being inherited by a another class (lets call it sub class) the problem i am facing is , accessing the array values in my member function of the sub class , do show the array but its values are all set to NULL (0) for some reasons.

6th Jun 2020, 10:19 AM
Muneeb Bhalli
Muneeb Bhalli - avatar
1 Answer
0
1. Save a copy of your code in SoloLearn. 2. Attach the saved code link in your thread Description. 3. You couldn't expect much (or anything at all) without sharing a code for review. People will end up playing with guesses without enough information. 4. Follow this guide to sharing your code link 👇 https://www.sololearn.com/post/75089/?ref=app
6th Jun 2020, 10:52 AM
Ipang