Computers and Technology

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);

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:00, azainababbas
Sam is a data analyst at an advertising firm. he often uses a spreadsheet that contains media ratings details. he would like to filter the spreadsheet data based on different filter criteria. which operators can he use to specify the combination of filter criteria? sam can use the ( blank ) operators to specify a combination of filter criteria.
Answers: 3
image
Computers and Technology, 22.06.2019 16:20, kimmmmmmy333
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
image
Computers and Technology, 23.06.2019 10:00, uwunuzzles
How do i delete my account on this because i didn't read this agreements and also i put age at xd
Answers: 1
image
Computers and Technology, 24.06.2019 17:40, lia1690
Which of the following processes applications across multiple computing devices? a. functional application b. distributed system c. workgroup information silo d. information silo
Answers: 3
Do you know the correct answer?
Consider the following partial class with constructor: public class Filename {
private String...

Questions in other subjects:

Konu
History, 22.09.2020 05:01
Konu
Chemistry, 22.09.2020 05:01