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
Which one of the following cannot be a friend in C++ languages?
Home
JAVA
Which one of the following cannot be a friend in C++ languages?
0
votes
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
Which one of the following cannot be a friend in C++ languages?
(i) A Class
(ii) A Function
(iii) An Object
(iv) None of the above
#c
-language
java
Java-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 24, 2021
by
sharadyadav1986
(iii) An Object
Related questions
0
votes
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
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
Select the best from following statement is not true about C++?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#c
-class
java
public-class
Java-questions-answers
0
votes
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
Which one of the following cannot be used with the virtual keyword?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
#virtual-keyword
java
java-function
Java-questions-answers
0
votes
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
+1
vote
what is Friend class and function in C++?
asked
Jul 16, 2019
in
C Plus Plus
by
Indian
#c
#vector
#stl
+1
vote
For inserting a new line in C++ program, which one of the following statements can be used?
asked
Jan 20, 2021
in
C Plus Plus
by
SakshiSharma
#c
-new-line
new-line-character
0
votes
How can one implement the compile-time Polymorphism in the C++ programming language?
asked
Jan 24, 2021
in
JAVA
by
rajeshsharma
polymorphism
inheritance
java
c
-object-oriented-language
Java-questions-answers
0
votes
database languages
asked
Sep 3, 2019
in
JAVA
by
Robin
java
Java-questions-answers
...