Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
Select the best from following statement is not true about C++?
Home
JAVA
Select the best from following statement is not true about C++?
0
votes
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
Select the best from following statement is not true about C++?
(i) Members of a class are public by default
(ii) A class cannot have the private members
(iii) A structure can have the member functions
(iv) All of the above
#c
-class
java
public-class
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2021
by
sharadyadav1986
(iii) A structure can have the member functions
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: Select the best from following statements is correct about the friend function in C++ programming language?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
programming
class
java
Java-questions-answers
0
votes
Q: Select the best from following statement is correct about the C++ programming language?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
c
-programming-language
type-check
java
Java-questions-answers
0
votes
Q: Select the best from following can be used to create an abstract class in the C++ programming language?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
-programming
#abstract-class
Java-questions-answers
0
votes
Q: Difference between Class and Structure in C++
asked
Jun 11, 2020
in
C Plus Plus
by
Robindeniel
#c
-class
structure
-class-and-sructure
0
votes
Q: What is a Class in C++?
asked
Jun 11, 2020
in
C Plus Plus
by
Robindeniel
#c
-class
#class-c
0
votes
Q: Which one of the following cannot be a friend in C++ languages?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
-language
java
Java-questions-answers
0
votes
Q: Select the best from following statements is correct about the class?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#java-class
java
#object
Java-questions-answers
0
votes
Q: Which type of approach is used by the C++ language?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
-language
java
#c-control-approach
Java-questions-answers
0
votes
Q: What will happen if "In a C++ program a class has no name"?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
-program
constructor
java
Java-questions-answers
0
votes
Q: What is the difference between an Object and a Class?
asked
Jun 11, 2020
in
C Plus Plus
by
Robindeniel
#c
-object
-class
-class-object
...