Join Telegram Channel for DXC exam Discussion & help!

Consider the following pseudo-code

Consider the following pseudo-code

Class brush
{
Private:
Integer size,colorcode;
Function getdata(){…..}//statment1
Public:
Integer name //statement-2
Function putdata(){….}
}
Function main
{
Brush b1,b2
Print b1.name//statement 3
B2.getdata()//statement 4
}

Choose the correct answer. A pseudo-code which is similar to that of C++ and self-explanatory. An accessible member function or data member for an object are accessed by the statement 
Objectname.functionname or objectname.datamembername respectively.

A. Statment1

B. Statment2

C. Statment3

D. Statment4

Answer: Option D

Post a Comment

Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.