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
Declare a class vehicle and make it an abstract data type.
Explain about Garbage Collector?
Explain this pointer?
What are shallow and deep copies?
Why isn't sizeof for a struct equal to the sum of sizeof of each member?
What is vector pair in c++?
What are namespaces in c++?
List down the guideline that should be followed while using friend function.
Where are setjmp and longjmp used in c++?
What is the use of volatile variable?
When the constructor of a base class calls a virtual function, why doesn't the override function of the derived class gets called?
Describe linked list using C++ with an example.
What are the extraction and insertion operators in c++? Explain with examples.
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?