Answer:
It's content will be replaced with a content from the source cell.
//Program
====================
librarian1.py
==============
# make a empty list to add user input names
lst = []
for i in range(5):
# take input from the user
auth = input("Name: ")
# append user input name into the list
lst.append(auth)
# sort the list
lst.sort()
# print the list
print(lst)
==============================================
//Output
Answer:
(3) option is the correct answer.
Explanation:
Constructors need to initialize the object in the memory. "To declare the Constructor for any class the user needs to specify the constructor name which is already the class name". This is an object-oriented language guideline.
It is because the object is created by the name of the class and Constructor is used to allocate the memory for the object. hence Constructor is created by the name of the class.
For example--
class test //class name test
{
test() //created a constructor with class name "test"
{
}
}
In the above example class name and constructor name are same if it not then it will gives a error.
Another option is not valid for the answer to the above problem because-
- Option 1 is wrong because, for any class, the data member is a type of variable, which is used to store the data and is accessed with the help of an object.
- Option 2 is wrong because, for any class, member function is a type of user function used to accessed the variable and expressions.
- Option 4 is wrong because, package is a set used to hold classes and interfaces.
Answer:
I try to search the answer but I couldn't find it
The
Insert Tab option
You can add a shape your word, excel or PowerPoint document to
make a drawing. To do this in MS Word, click on the Insert tab, and in the illustration
group, click on the shapes option. Click the shapes or callouts that you would
like to insert and then drag to place the shape anywhere in the document.