Classes cannot Initialize data members in the class definition.
B) Initialize data members in the class definition
<u>Explanation:</u>
Class is defined by end user data type where it can handle multiple data type and referred to other classes also. Class is also called as data structure object or object class.
Due to class methods total programming language coding style is changes. For example employee of an organization should hold his or her employee number, address detail, spouse details, salary details
Where in old style programming language we need to declare separate variable to hold the data types, where we can define employee as class which can hold employee number, address fields, and again define salary details as other class and add employee->employee number where key connect between to class which is called derived class.
Answer:
1. a late breaking news story = to inform
2. a poetry reading = to entertain
3. an advertisement = to persuade
4. a small group assignment = to collaborate
Explanation:
1. A "breaking news" tells people of what is happening in the society. It <em>informs </em>them of the occurrence of an important event such as the plane crash of Kobe Bryant.
2. Poetry reading is meant to touch the attention of listeners. It tries to entertain them through the poem's interesting verses.
3. An advertisement is being shown/displayed in order to convince people to buy a particular product or service.
4. A group assignment allows the members of the group to contribute their ideas together. Such situation is known as "collaboration." They try to brainstorm together towards a common goal.
Answer:anti various
Explanation:hope fully this will help u
Answer:
Data hierarchy is basically define to the data which is organized in the systematic manner. The main concept of the data hierarchy is to check the basic structure of the data. It basically involve the fields records and files for the data organization.
The following is the list of the computer data hierarchy from nit to address are:
1) Bit: It is the smallest unit of the data.
2) Field: The collection of all the characters in the data is known as field.
3) Record: The collection of the different fields is known as records.
4) File: The collection of various types of records in the database is known as file.
Answer:
# import the turtle library
from turtle import *
# create a turtle space
space = Screen()
# create a turtle object
z = Turtle()
# create a single Z
z.forward(50)
z.right(120)
z.forward(100)
z.left(120)
z.forward(50)
# adjust the turtle position
z.up()
z.left...
Explanation: