## Submitted Questions

• #### There are 45 members in a group. 9 members have shoes but no hats. 18 members have shoes. How many members are there who have only hats? a)12 b) 19 c) 27 d) 18

d)18.no. of members who have both hats and shoes=18 - 9 = 9no. of members who have hats = 45 - 18 = 27no. of members who have hats only hats = 27 - 9 = 18.

• Feb 20th, 2007

no of students have both shoes and hats is: 9 since 18 have shoe not mention about hat so (18-9)
no of students have shoe alone is:9
from the total students 45, 45-(9+9)=27

#### Hari Kishore

• Feb 12th, 2016

Cannot say, the rest may not be wearing any, neither shoes nor hats.

#### pravesh28

• Apr 9th, 2010

Let n(A-B) eqaqls 9 {shoes but not hat}n(A) eqals 18 {shoes}then we have find n(b-a)?given n(AorB) eqals 45clearly member have both shes and hat eqals 9using venn diagram45 eqals 9+9+n(B)Answer - 27

• #### why servlet is used as controller ?not JSP? i want complete Explation?

In struts servlet control the application and we know that a jsp compiled into a servlet first. The only problem with the servlet is that it needs to write out.println call per HTML line. But as a controller in struts servlets do not force the programmers to write out.println, that is the part of JSP which acts as View.So if the controller would be JSP the translation (JSP compiled to a servlet)step...

#### Ajay

• Sep 3rd, 2014

To maintain the control flow huge amount of code is required.Writing huge code in jsp is against jsp technology.
So Jsp is not recommended to use as a controller

#### anil

• Nov 19th, 2012

Servlets are meant to carry out the dynamic work. If we put Servlet to View rather than as controller, it holds so many server resources, unnecessary creation of Request and Response objects that makes the Server to have unnecessary burden.

• #### Find the next number in the series. 1, 0.5, 0.25, 0.125

0.0625Multiply each term by 0.5

#### hugo

• Mar 1st, 2007

4,12,6,12,36,18,36the 8th  term is 108Because:lets take the first three terms: 4,12,6term 4 -->>>  4 * 3 = 12term 5 -->>>  12 * 3 = 36term 6&n...

#### Sunny

• Jan 20th, 2007

46, 45, 43, 40, 36, Ans: 46, (46-1)=45,45-2=43, 43-3=40, 40-4=36, 36-5=314, 12, 6, 12, 36, 18, 36, Ans: i think  4, (4*3)12, 6, (6*2)12, 36, (36/2)18, (36/3)121, 3, 9, 27, 81Ans: 2439, 4, 10...

• #### Find the next number in the series 3, 4, 6, 9, 13,?

Next number will be 18.This is fibonacci series X, X+1, X+2, X+3.....

#### prititripathi

• Feb 25th, 2011

Series is like dat difference b/w 3-4 is 0next one 1 ,2 n so onso next no. vll b 18

#### hmvasista

• Apr 29th, 2010

The answer is 18 ie 3+1=4    4+2=6    6+3=9    9+4=13so 13+5=18This is not a fibonacci series.... it is 0,1,1,2,3,5,8,13,21,34....

• #### marker interface having no methods right.. then what is the use of marker interface? for what purpose we use marker interface?

One of the "clean" features of the Java programming language is that it mandates a separation between interfaces (pure behavior) and classes (state and behavior). Interfaces are used in Java to specify the behavior of derived classes. Often you will come across interfaces in Java that have no behavior. In other words, they are just empty interface definitions. These are known as marker interfaces....

#### kavya

• May 9th, 2018

Example of Marker Interface in Java We have created the below three java files to make you understand. 1. MyMarkerInterface.java (which is own created marker interface) 2. ImplMarkerInterface.java (A ...

#### syam pujala

• Mar 28th, 2018

Purpose of marker interface is to separate object from normal objects. ex: if you want to serialize one object then that object must implement serializable interface which is marker interface.