Objective Java Multiple Choice Questions Part 5 | URDINESH

Software Programming, Tutorials, Interview Preparations,Stock Market,BSE/NSE, General informations

Friday, May 23, 2014

Objective Java Multiple Choice Questions Part 5


41.     Select c.name , a.address from customer c left outer join address a
The above query will fetch
i.        Customers without address
ii.       Customers with address
Which are valid ?(d)
a.       i
b.       ii
c.       both
d.       none


42.     In publish / subscribe messaging (CB)
a.       There can be many receivers
b.       The receiver need not stay connected

43.     Which of the following are not generator types (CB)
a.       TABLE
b.       NULL
c.       IDENTITY
d.       ENTITY
e. none

44.     Java objects mapped to relational DB
a.       ORM
b.       JPA
c.       Persistence
d.       Entity

45.     Which method must be implemented in CMP
a.       ejbCreate()
b.       atleast one ejbFindXXX()

46.     MessageListener  has
a.       Has only one method
b.       Has one method
c.       Hes two methods
d.       Methods can be added
e.       Marker interface

47.     Which of the following is valid declaration of remote interface
a.       @Remote
b.       remote

48.     select object(a) from customer c where c.i in (1,2)
the query fetches records for which
a.       i is in position 1
b.       i is in position 2
c.       i is either in position 1 0r 2
d.       none

49.     which for the foll is specified while converting java.util.Date to native SQL type
a.       java.persistence.DateType
b.       java.persistence.TemporalType
c.       java.persistence.SysDateType
d.       java.persistence.CalenderType

50.     Isolation levels can be specified by
a.       Deployment descriptor
b.       Annotation

C.       None

No comments:

Post a Comment

Thanks for your valuable comments

Followers