Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
186 views
in General by (120k points)
closed by
Which among the following is true for public member functions?

(a) Public member functions doesn’t have a return type

(b) Public member functions doesn’t have any security

(c) Public member functions are declared outside the class

(d) Public member functions can be called using object of class

1 Answer

0 votes
by (120k points)
selected by
 
Best answer
Right answer is (d) Public member functions can be called using object of class

The explanation: The public member functions can be called using object of the class. The members can’t be declared outside the class as those would become non-member functions of the class. The functions have security as those can be accessed using the class object only.

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...