Home / MCQ Bank / Computer
Computer Classes And Objects In Python

What is delattr(obj,name) used for?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option B • To delete an attribute

Related Computer Questions

Which element defines preformatted text? Network 206.143.5.0 was assigned to the Acme Company to connect to its ISP. The administrator of Acme would like to configure one router with the commands to access the Internet. Which commands could be configured on the Gateway router to allow Internet access to the entire network? 1. Gateway (config) # ip route 0.0.0.0 0.0.0.0 206.143.5.2 2. Gateway (config) # router rip 3. Gateway (config-router) # network 206.143.5.0 4. Gateway (config-router) # network 206.143.5.0 default Which is part of a computer system, enables human operators to communicate with the computer. What will be the output of the following C# code? static void Main(string[] args) { int a = 5, b = 10; if (Convert.ToBoolean(Convert.ToInt32(++a)) || Convert.ToBoolean(Convert.ToInt32(++b))) { Console.WriteLine(a + "\n" + b); } else Console.WriteLine(" C# "); } Which of the given statements are false i. extern int func; ii. extern int func2(int,int); iii. int func2(int,int); iv. extern class foo;