...
OOPS
August 29, 2024
Database-Management-System
August 29, 2024
OOPS
August 29, 2024
Database-Management-System
August 29, 2024

OOPS

Question 208
Member of a class specified as _______ are accessible only to method of the class.
A
private
B
public
C
protected
D
derive
Question 208 Explanation: 
→ Member of a class specified as private are accessible only to method of the class.
→ Private is default for a member of a class if no access specifier is used for it.
→ When we pass an argument by call by value a copy of argument is made into the formal parameter of the subroutine and changes made on parameters of subroutine have no effect on original argument, they remain the same.
Correct Answer: A
Question 208 Explanation: 
→ Member of a class specified as private are accessible only to method of the class.
→ Private is default for a member of a class if no access specifier is used for it.
→ When we pass an argument by call by value a copy of argument is made into the formal parameter of the subroutine and changes made on parameters of subroutine have no effect on original argument, they remain the same.
0 0 votes
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
error: Alert: Content selection is disabled!!