Level 2 : Which of the following statements is correct in this python code?


class Name:  
    def __init__(javatpoint):  
        javajavatpoint = java  
name1=Name("ABC")  
name2=name1

Author: SandhyaR | Tags: class | 1736+ Python FAQs | Share
file-handling | lambda | default-mutable-argument | recurssion | syntax-error | escape-operator | string-method | logical-operation | sys | shallow-copy | syntax | type-conversion | stack | assert | inherit | mathematical-function | control-statement | while-else-loop | list-vs-tuple | polymorphism | scientific-notation | min-function | file-handling | __all__-attribute | counter-function | random-function | data_structure | sum-function | turtle | while-loop | python-repl | generator | built-in-function | goto-function | exponentiation | function-argument | odd-number | sorted | arithmetic-expression | software-design | bitwise-operator | file | head-and-tail | string-slicing | map-function | round | global | numeric | operator-overloading | operator-or | python-module | while-and-for-loop | int | range | comprehension | zfill-function | tuple-unpacking | string | list-comprehension | copy | append | loop | control-flow | exception-handling | class | tuple | error | boolean | multiple-inheritance | list-mutation | datetime | class-and-object | global-variable | object-attribute | pandas | iterable | input | collection | list-indexing | collections | numpy | design-principle | comparison | decimal | list-method | installation | heap-memory | identity-operator | version | conversion | type_conversion | generators-in-python | set-operation | exception | string-formatting | comment | multithreading | library | with-statement | keyword | random | datatype | identity-operator | global-keyword | operator-and | __init_subclass__ | sorting | format | function | staticmethod | control-flow | mapping-function | thread | recursion | touples | virtual-environment | id-function | string-formatting | slicing | counter | lists | bitwise-operator | else-statement | feature | input-function | class-and-inheritance | return-statement | regex | fabs-function | memory-management | oop | precedence | command-line-parsing | string-method | error-handling | zip-function | python-history | factorial-function | print-statement | round-function | global-variable | integer | sys-module | precedence-and-associativity | min-max-function | list-operation | type-conversion | mysql | module | attribute | string-slicing | call | data-structure | variable | matrix | conditional-statement | def | center | filter-function | file_handling | lambda-function | package-management | list-join | list-comprehension | compute | import-method | immutability | interpreter | classes | string-iteration | implementation | match | threading | enumerate() | data-type | built-in | array | encoding | bitwise | logical-operator | split | max-min | parameter | built-in-function | complex | swapping | matrix-list-comprehension | function-and-scope | list | loops | binary | virtual-environment | static-method | typeerror | data-structure | python_version | pep | access-modifier | benefit | logical-operator | raise | debugging | list-slicing | arithmetic-operation | dicts | namedtuple | decorator | statement | condition | math-copysign | multiprocessing | docstring | binary-operation | operator | data-type | iterator | constructor | update | data-structures | python | postfix | methods | operand | method | context-manager | filter | syntaxerror | join | version-check | python-django | descriptors | boolean-and-non-boolean | invalid-list | print | encapsulation | matplotlib | memory | asyncio | yield | operators | generators | formal-and-actual-parameter | lambdas | floating-point-precision | indexing | loop-control | mutable | gil | math | asyncio-module | magic-method | inheritance | deep-copy | dictionaries | expression | objects | slice | frozenset | __future__ | string-concatenation | dictionary | for | pickling-&-unpickling | namespace | exception-handling | class-and-instance-variable | higher-order-function | destructor | pseudocode | set | nested-loop | async | application | basic | expand-tab | operations | overflow | input-function | string-manipulation | init | syntax-error | conditional-statement | identifier | regular-expression | indentation | name-mangling | immutable-data-type | functions | zip | choice | rollback | assignment-operator | complex-number | mathematics | oops | functional-programming | sum() ...