subject

Consider the following partial class with constructor: public class Filename {
private String fullPath;
private char pathSeparator,
extensionSeparator;

public Filename(String str, char sep, char ext) {
fullPath = str;
pathSeparator = sep;
extensionSeparator = ext;
}

Which statement could be used to create an object of the Filename class?

a. Filename myHomePage = new Filename(FPATH, '/', '.');
b. Filename myHomePage = new Filename();
c. Filename myHomePage = new Filename(FPATH);

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
How does a policy manual an organization? a. it boost productivity. b. it create awareness in employees about the organization’s values. c. it employees achieve targets. d. it safeguards the organization from liabilities.
Answers: 1
question
Computers and Technology, 23.06.2019 00:30
Pl i need the answer now ! which one of the following is considered a peripheral? a software b mouse c usb connector d motherboard
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
How often does colleges update the cost of attendance on their website? . a)every two years b) every four years c) every year d) every semester
Answers: 1
question
Computers and Technology, 24.06.2019 00:00
Which tool could be used to display only rows containing presidents who served two terms
Answers: 3
You know the right answer?
Consider the following partial class with constructor: public class Filename {
private String...
Questions
question
Mathematics, 04.06.2021 08:20
question
Mathematics, 04.06.2021 08:20
Questions on the website: 13722363