Курсы
Курсы
Компилятор кода
Компилятор кода
Обсуждения
Цены
Teams
Войти
Регистрация
Menu
Обсуждения
Поиск
Поиск
Задать вопрос
Задать вопрос
Can we access Private protected and public access specifiers at the same time in c++?
c++
oop
-1 голос
4 ответов
20th Apr 2018, 2:31 PM
kashif ahmad
Why a constructor is always declare as the public? But not as private or protected.
c++
1 голос
3 ответов
26th Feb 2017, 5:13 PM
Abhishek Satpathy
Which of the following are valid modifier? Protected , public , private , handin ?
handin
modifier
private
protected
public
valid
0 голосов
2 ответов
9th Jun 2018, 6:55 PM
Khawla
I thought sololearn had code privacy,I scribbled some code to upload later but not that day,saved private but it was viewed!
code
private
0 голосов
2 ответов
13th Jul 2020, 7:34 AM
Tekashi69{Oliseh}
Can you please explain easily about private public in class and also about constructors in classes with examples ?
c++
in
0 голосов
8 ответов
23rd Jul 2020, 9:36 AM
Pulasani Aswini
fill in the blanks to make the egg attribute strongly private and access it from outside of the class
python3
0 голосов
6 ответов
20th Sep 2017, 4:48 PM
Niduk Madushan
Can anyone tell me how to create an object of a private constructor in c++
c++
0 голосов
2 ответов
16th Jul 2022, 11:20 PM
Abdul Rahim
Is there any way to text to peers and followers in private chat
about
improvement
sololearn
0 голосов
2 ответов
9th Jan 2018, 2:23 AM
Alwin J Thomas
fill the blank to create a class"people " with three private integer member birthmonth,birthday,birthyear
a
birthday
birthmonth
birthyear
blank
classes"people"
create
fill
integer
member
private
the
three
to
with
-1 голос
3 ответов
5th Dec 2016, 2:14 AM
Jonavel Dacutanan
Can you access a private variable from the superclass using the super keyword within the subclass?
inheritance
java
0 голосов
2 ответов
6th Dec 2016, 3:03 PM
Elizabeth Brown
It would be nice if we could have private conversations with other SL users.. I think SL should introduce that feature.
conversation
idea
message
private
sololearn
user
users
7 голосов
9 ответов
2nd Sep 2017, 8:09 AM
Gustave Etheve
[Solved] Access modifiers in java
access-modifiers
java
private
variables
-1 голос
14 ответов
5th Jul 2020, 6:30 PM
SHIVANSH
Chat
c++
chat
private
9 голосов
2 ответов
14th Nov 2016, 4:30 AM
Gaurav Pandey
Can you guys explain private double fuelCapacity; please? why we are using double?
access-modifiers
java
0 голосов
1 ответ
25th Nov 2016, 10:00 PM
Aminur Rahman
Can anyone help me learn how to make a chat for my app, both private & public.
addfriend
app
chatrooms
chats
chatting
etc
privatechats
publicchats
-2 голосов
4 ответов
25th Apr 2022, 1:22 AM
Feejeh
How can we access private members of base class through sub class when inhertance is done??
c++
1 голос
3 ответов
26th Aug 2016, 5:42 PM
Sunitha Ganti
What is the use of private members or member functions if they can't be used outside that class
c
c++
classes
objects
1 голос
3 ответов
30th Jan 2022, 12:32 PM
Gurmeet Singh
AHow can I share All of my private code saved on solo learn to Someone via link at once?
sololearn
0 голосов
4 ответов
30th Sep 2021, 7:53 AM
Kishan Khanna
Can some one answer, why there isnot private chat sistem source code in whlole internet ?
chat
php
private
sistem
0 голосов
3 ответов
25th Oct 2018, 4:33 AM
Nasibillo Muhamedov
Massage can't send try again
massage
private
sololearn
1 голос
4 ответов
24th Feb 2022, 1:33 PM
Raju Adhikary
code
code
private
public
2 голосов
3 ответов
21st Oct 2020, 4:10 PM
Abrar Labib
Can someone please explain the working of public and private variables within a program
access-modifiers
java
0 голосов
2 ответов
21st Jun 2017, 10:59 AM
Vishal
What is the difference between private static void Main() and public static void Main() in c# and JAVA?
access-modifiers
c#
java
main-methode
2 голосов
2 ответов
1st Jun 2018, 7:03 AM
Nurman Tajir
I wish someone can be holding a private classes with me,methods in c# is getting abit tough for me.
c#
methods
1 голос
6 ответов
24th Oct 2017, 6:34 PM
Ibrahim Ali Bello
Finally sololearn bug as done it worsted effect to me right now all of my personal codes both private and public are truncated
bugs
notfixed
sololearn
1 голос
8 ответов
5th May 2022, 3:52 PM
D Doyen
Can private members of the base class become protected members of the derived class in protected inheritance?
c++
inheritance
3 голосов
2 ответов
12th Feb 2017, 9:31 AM
Loise Muthoni
Who on this platform accesses my privately set code without my consent, who do you think you people think you are.
code
not
private
public
2 голосов
11 ответов
12th May 2018, 12:13 PM
Tigress
Is there any way to access private members outside the class and without the use of functions?
access-modifiers
0 голосов
4 ответов
4th Dec 2016, 5:09 PM
somesh bhinda
Why we want to create variables private in a class? It is not easy as public?
c++
0 голосов
2 ответов
29th Jan 2019, 5:45 AM
Ajin Ra
Is there a way in which we can access private variables of a class in java without setter and getter methods?
java
oop
4 голосов
6 ответов
25th Jan 2018, 1:07 PM
Santosh Teurwadkar
Please the private chat group what does it mean when it says you cannot respond to this conversation
cannot
conversation
respond
this
to
you
0 голосов
2 ответов
4th Sep 2020, 11:39 PM
Ultra WALKER
When we declare a variable private then why Java dont allow it to access from outside the class?
java
0 голосов
3 ответов
29th Apr 2020, 5:30 PM
parag sahu
Please, how can I activate my account to be able to send private messages? Note: I've checked my email
account
0 голосов
3 ответов
5th Sep 2022, 6:40 PM
Nwobodo Favour Chidera
One private testcase is not passing. I dont know that testcase. What may be the reason for it?
c
0 голосов
2 ответов
5th Sep 2019, 3:26 PM
Geek
I m not getting how to deal with private specifier? And what is role of set() nd get(
c++
classes
private
0 голосов
3 ответов
9th May 2020, 1:12 PM
Vivek Chakrawarty
Help! Topic: inheritance, derived classes in C++. CAN someone explain the error" calling a private constructor, has_abs is priv
cplusplus
0 голосов
4 ответов
1st Jun 2020, 8:34 AM
Reynolds Onyango
Consider the following java class definition: public class time { private int second; // from 1 to 60
java
0 голосов
4 ответов
21st Dec 2016, 3:52 PM
victor
Sir / Mam please tell me why this c++ program calling the base class variable when its private ??
help
inheritance
0 голосов
2 ответов
28th Jan 2023, 3:10 AM
Harshit Gupta
Part 1 – Fraction Class Declare two private integer instance variables to hold the numerator and denominator .
constructors
java
1 голос
2 ответов
7th Nov 2019, 3:43 PM
Avilasha Trivedi
How to modify a private data member of a class through a non member function?
c++
code
definition
0 голосов
1 ответ
16th May 2018, 3:36 AM
Code Ripper
How is the variable private here since we used it in a public property using accessor?
accessor
accessors
c
c#
classes
programming
properties
property
0 голосов
1 ответ
2nd Oct 2020, 8:49 AM
Rohan Agarwal
What is the use of private access specifier if it can't be accessed out of the class?
accesspecifier
c++
encapsulation
private
1 голос
2 ответов
19th Oct 2016, 3:50 PM
Jaya
What is the difference between Final and private?
final
java
private
1 голос
4 ответов
13th Dec 2016, 5:20 PM
Mayur More
Complete the program below to make class Dog declare a constructor that has one (1) parameter and assigns it to the private age
constructor
declare
help
parameter
0 голосов
4 ответов
25th Oct 2020, 3:10 AM
Hades Name
How to have a helper function in a class ,without getting a warning of (self expected as the first parameter )
classes
functions
private
python
1 голос
5 ответов
13th Jan 2025, 7:47 PM
Dareen Moughrabi
Drag and drop from the options below to create a valid constructor. class Person { private int age; public ( myage) {
constructors
java
-6 голосов
6 ответов
3rd Jul 2017, 9:47 AM
Walter Mugo
Fill in the blanks to make the egg attribute strongly private and access it from outside of the class
python
1 голос
2 ответов
30th Nov 2022, 4:25 AM
Beterus
How Is it possible to access the private member of a base class in the derived class in c++
c++
0 голосов
2 ответов
3rd Jun 2021, 2:05 PM
steadson allen
Good day everyone! Just want to ask, How to make my own private checker? What language do I need to use?
cc
checker
helpplease
language
livecc
private
programming
1 голос
1 ответ
16th Sep 2020, 1:00 PM
Jievenson Del Rosario
Can I use "this" to call a private method from a method of the SAME class?
java
this
0 голосов
2 ответов
8th Nov 2016, 3:08 PM
Arnie
Задать вопрос
Задать вопрос
Задать вопрос
Задать вопрос
< Предыдущий
1
...
7
8
9
10
Следующий >
Актуальное сегодня
Void functional void with bool function
0 Votes
Python
2 Votes
TICTACTOE
1 Votes
Learn python
2 Votes
Error
0 Votes
BIG DOUBT🤔🤔🤔🤔
2 Votes
Help for study
0 Votes
Need help (French)
1 Votes
Spying on me
1 Votes
Where's PHP and Ruby courses?
1 Votes