Courses
Courses
Code Compiler
Code Compiler
Discuss
Teams
Log in
Register
Menu
Q&A Discussions
Search
Search
Ask a question
Ask a question
What is the need for using Constructor?Can'twe just initialize a data member in a method?
constructor
data
importance
java
members
methods
of
3 Votes
2 Answers
10th Nov 2018, 5:42 PM
Neelarghya Kundu
which members of A are accessible from B?and why? class A{ int a; protected: float b; public: char c; }; class B:private A{}; 1) a 2) b 3) c 4) none
c++
0 Votes
3 Answers
25th Aug 2016, 3:28 AM
Lekhraj Singh
scope resolution operator
c++
classes
constructors
functions
members
operators
scope
1 Vote
2 Answers
16th Nov 2016, 1:36 PM
Tony Robinson
Which members of A are accessible from B??? class A{ int a; protected: float b; public: char c; }; class B : private A{ }; I think it should be none as A is private.. but its wrong!!
c++
1 Vote
3 Answers
9th Sep 2016, 10:09 AM
Soutik
Ask a question
Ask a question
Ask a question
Ask a question
< Previous
1
...
3
4
Next >
Hot today
Sticky position
3 Votes
Help please?
3 Votes
How to get better with problem-solving and programming
1 Votes
Ejercicio Pytho
0 Votes
Online voting system
2 Votes
What is that z for
0 Votes
Suggestions needed
4 Votes
Bug on "Java for Beginners Module 3 Quiz"
1 Votes
Odd even threads without condition variable
0 Votes
SQL practice
2 Votes