Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Must accepts "Maestro Cards"
Tax for bike should be less than 15
Total number of lanes is more than 10
Must provides monthly pass
Write a method:

boolean isGoodTollBridge(String[] cardsAccepted, String[] tollTax, boolean hasMonthlyPass, int numberOfLanes);

String[] cardsAccepted A String array of names of card types accepted for payment of toll tax, it can be null if the toll does not accept any card
String[] tollTax A String array of toll tax chart (say “Train : 300”,”BullCart : 10”)
boolean hasMonthlyPass This parameter defines whether there is any monthly pass available or not
int numberOfLanes This parameter defines the number of lanes for each side


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C++ General Interview Questions

What is #include cmath?

0 Answers  


How do you invoke a base member function from a derived class in which you’ve overridden that function?

0 Answers  


What is a .h file c++?

0 Answers  


Define pointers?

0 Answers  


Which software is used for c++ programming?

0 Answers  


What is doubly linked list in c++?

0 Answers  


Comment on c++ standard exceptions?

0 Answers  


Differentiate between the message and method?

1 Answers  


What is the difference between #import and #include?

0 Answers  


What is a syntax in c++?

0 Answers  


How do you test your code?

4 Answers   Microsoft,


What are virtual functions and what is its use?

1 Answers  


Categories