Question: if a java code has a constructor containing String [] [] how do I code the constructor. heres an example of a piece of code
if a java code has a constructor containing String [] [] how do I code the constructor. heres an example of a piece of code using it:
public class It {
private Trip[] trips = new Trip[20];
// Constructor
public Itinerary(String[][] myTrips) {
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
