A good website has the following conditions

It should be interactive.
It should contain at least 20 images.
Title cannot be null and should contain at least 10 letters
other than spaces and hyphen (-).
The keywords should contain atleast three among the
following list : "design", "Graphics", "lovely",
"beautiful", "amazing" and "mesmerising"
Write a method:


boolean isGoodWebsite(boolean isInteractive, int
numOfImages, String title,String keywords[])

isInteractive whether the site is interactive or not
numOfImages Number of images on the website
title Title of the website
keywords Array of keywords in the website.


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

Post New Answer

More Programming Languages AllOther Interview Questions

When you deliver your C++ headers and C++ library of a class (what all can you change in the class so that application using your class does not need to recompile the code)

0 Answers   Yahoo,


Corillian's product is a "Component Container." Name at least 3 component

1 Answers  


what is the main usage of an abstract keyword?please follow the program class A { void display() { System.out.println("hai"); } void print() { } } class B extends A { void print() { System.out.println("Hello"); } } In this program i was gives the implementation of print() according to my requirements in subclass.And there is no definition in superclass then why we can use abstract keyword before a method that i want to gives definition in other classes,is any mistakes in the above usage of method?

0 Answers  


< DL Compact > tag is used for

0 Answers  


Which language they use during interview?

0 Answers   State Bank Of India SBI,






What is the difference between procedure -oriented language and object oriented language?

22 Answers   IBM, Infosys, TCS,


how many languages .net is supporting now?

2 Answers  


what are all the validation we need to perform in data stage?

0 Answers  


How does the type system works when there is interoperability between a COM and .Net, i mean what exactly happens there

0 Answers   247Customer,


Which design patterns have you used?

0 Answers  


How to set fixed width in particular <td> in html? if i type more character in this <td> it will not push near <td>. this is my question. can u tell me the answer...

0 Answers   SoftSquare,


Tell me the jobs for the MCA Fresher in delhi, Noida..

0 Answers  


Categories