+ 2

How to Make one program Encapsulation "Show file Students with attributed : name is public, number is private, score is private. Use retrun if you can" with logic.

25th Nov 2016, 6:30 AM
Sekar Amalia
Sekar Amalia - avatar
8 Antworten
+ 4
Pleasure Sekar. 😊 If you want to learn first then you can "Decline" my challenges but if you want to keep challenging me then that's okay too. Just know that you'll stand a better chance of winning when you've completed the course.
31st Mar 2017, 6:59 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
Welcome to Sololearn Sekar 😉
31st Mar 2017, 6:47 PM
Ghauth Christians
Ghauth Christians - avatar
+ 2
thanks for much challenge me gavin
31st Mar 2017, 6:55 PM
Sekar Amalia
Sekar Amalia - avatar
+ 2
yes i remember you Abdul and maybe you must help me hhh i am keep challenging because it's good Gavin, it's ok not getting point but get knowledge
1st Apr 2017, 6:54 AM
Sekar Amalia
Sekar Amalia - avatar
+ 1
still have group WhatsApp @Abdul
3rd Apr 2017, 6:20 AM
Sekar Amalia
Sekar Amalia - avatar
+ 1
@abdul me too, quit the group long time ago.
6th Apr 2017, 1:37 PM
Sekar Amalia
Sekar Amalia - avatar
+ 1
your a developer @abdul ??
7th Apr 2017, 1:58 AM
Sekar Amalia
Sekar Amalia - avatar
0
I did not understand exactly what you want to do. but if you declared a private attribute write the getter and setter methods to access and modify the attribute. some like public int getScore(){ return this.score; } public void setScore(int score){ this.score=score; }
25th Nov 2016, 6:56 AM
Simone Novaro
Simone Novaro - avatar