Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged methods
0
votes
Q: Difference between del, remove and pop on lists
>>> a=[1,2,3] >>> a.remove(2) >>> a [1, 3] >>> a=[1,2,3] >>> del a[1] >>> a ... above three methods to remove an element from a list? Select the correct answer from above options...
asked
Jan 26, 2022
in
Education
by
JackTerrance
methods
del
python
python-3
python-list
0
votes
Q: Is Java “pass-by-reference” or “pass-by-value”?
Earlier I used to think that Java is Pass by Reference, but During my latest research iI came to the conclusion that ... and why is it Select the correct answer from above options...
asked
Jan 21, 2022
in
Education
by
JackTerrance
java
methods
parameter-passing
pass-by-reference
pass-by-value
0
votes
Q: What is the difference between @staticmethod and @classmethod?
Can someone please tell me the difference between a function decorated with @staticmethod and one with @classmethod? Select the correct answer from above options...
asked
Jan 20, 2022
in
Education
by
JackTerrance
python
oop
methods
python-decorators
To see more, click for the
full list of questions
or
popular tags
.
...