subject

Which of the following are valid overloaded methods?

1)
public void somemethod(int num)
public void somemethod(string str)
public int somemethod(int num)

2)
public int somemethod(int num)
public double somemethod()
public string somemethod(string str)

3)
public void somemethod(int num)
public double somemethod(double num)
public double somemethod()

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
question
Computers and Technology, 24.06.2019 03:30
Auniform resource locator (url) is a formatted string of text that web browsers, email applications, and other software programs use to identify a particular resource on the internet. true false
Answers: 2
question
Computers and Technology, 25.06.2019 04:30
Consider a list of full names formatted “firstname lastname”, like ["jules verne", "alexandre dumas", "maurice druon"]. write a list comprehension that produces a list with the full names in the format “lastname, firstname”. the resulting list should look like ['verne, jules', 'dumas, alexandre', 'druon, maurice']. the simplest solution may involve a nested comprehension: [ …. for … in [ … for … in … ]].
Answers: 3
question
Computers and Technology, 25.06.2019 06:00
Sam needs to create a spreadsheet for his coworkers. they will need to follow a crossed a long road of data. sam would like to make his spreadsheet easy to read. sam should
Answers: 1
You know the right answer?
Which of the following are valid overloaded methods?

1)
public void somemethod(in...
Questions
question
Mathematics, 22.07.2021 22:40
question
Mathematics, 22.07.2021 22:40
Questions on the website: 13722362