Ask Experts Questions for FREE Help !
Ask
    rushi bhaskar's Avatar
    rushi bhaskar Posts: 1, Reputation: 1
    New Member
     
    #1

    Jan 9, 2013, 10:47 PM
    Source code in java
    A Good Tourist Place is defined which fulfill all these following conditions.

    The number of tourist spots should be more than seven.
    Name of the tourist place should not be null.
    Number of visitors to the tourist place must be more then 7 lakhs.
    Should have at least 4 types of transport available and should include “Bus” as a transport type
    If the place has a transport facility of "Air", the place must have a "5 star" hotel.
    If the place has a "3 Star" hotel, then it must also have "4 Star" and "5 Star" hotels.
    Write a method:

    Boolean isGoodTouristPlace(String name, int numTouristSpots, String[] hotelTypesAvailable, int numVisitors, String[] transportFacilities)

    Name Name of the tourist place
    NumTouristSpots Number of tourist spots in the place.
    HotelTypesAvailable Types of hotels available, e.g. "Budget", "3 Star", "5 Star" etc...
    NumVisitors Number of tourists who come to the place every year.
    TransportFacilities Types of transport available using which a person can reach this place. e.g. "Air", "Train", "Bus", "Taxi" etc..

Check out some similar questions!

JAVA Source Code to play multiple audio & video files [ 0 Answers ]

Need JAVA Source Code JFrame Panel with 8 buttons Button-1 plays video1.MOV file (15 seconds) Button-2 plays sound1.WAV file (3 seconds) Button-3 plays sound2.WAV file (4 seconds) Button-4 plays sound3.MP3 file (5 seconds) Button-5 plays sound4.MID file (4 seconds) Button-6 plays video2.WNF...

Java code [ 2 Answers ]

Please give me a simple java code for addition of two numbers here two numbers are accepted From users please give me explanation about each code

Java code [ 2 Answers ]

Please give me a java program for additon of two numbers here nos are accepted from users here I am not confident about java program so please gieve me java code I only understand a hello program so please help me

Java code [ 1 Answers ]

What is difference between argument and parameter element as use in calling routines/coding a method? Can one use them interchangeably for talking/writing purposes?


View more questions Search
 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.