Monday, 19 March 2012

Internet, Web Programming and Java MCQ 14


  1. Java create distributed application using the concept:

    1. RMI & CORBA
    2. RMI & JDBC
    3. CORBA & JDBC
    4. None of these

  1. RMI is stands for:

    1. Remote methodology invocation
    2. Research method invocation
    3. Remote method invocation
    4. Resource method invocation

  1. JavaBeans is a technology that allows one to build complex system from reusable software component called

    1. JavaBeans
    2. Bean
    3. Bin
    4. Jdk

  1. CORBA is stands for:
    1. Common oriented request broker architecture
    2. Common object request break architecture
    3. Common object request broker architecture
    4. Common object request broker access
  2. Java program are run in:

    1. JVM
    2. JavaBeans
    3. JavaViewer
    4. All of these

  1. JDBC is stand for:
    1. JavaBeans database connectivity
    2. Java database connectivity
    3. Java database communicate
    4. Java database connection
  2. A bean has all benefits java’s __________ paradigm.
    1. Write-once,run-anywhere
    2. Write-thrice,run-anywhere
    3. Write-once,run-time
    4. Write-once,run-anytime
  3. A bean consists of general purpose interfaces are:

    1. Properties
    2. Events
    3. Methods
    4. All of these


  1. The properties are equivalent to data field   of object in the java except that they must be  declared as____________

    1. Public
    2. Private
    3. Protected
    4. All of these

  1. There are two types of properties, namely

    1. Simple
    2. Indexed
    3. Simple & indexed
    4. Simple & interest

  1. Beans can communicate with objects by generating _____________

    1. Properties
    2. Method
    3. Events
    4. All of these

  1. Introspection is the ___________ process of analyzing a beans properties

    1. Automatic
    2. User defined
    3. System defined
    4. All of these

  1. Introspection is the important feature  of JavaBeans _________

    1.  API
    2. RMI
    3. JDBC
    4. CORBA

  1. The process of introspection is used at ________

    1. Run time
    2. Design time
    3. Compile time
    4. Both a & b

  1. Introspection are two approaches by which a developer can indicate in the first approach in JavaBeans designs ____________ are used

    1. Properties
    2. Patterns
    3. Method
    4. None of these

  1. The second approach is to implement the ____________ interfaces

    1. JavaBeans
    2. BeansInFo
    3. InFo
    4. BeanInfo


  1. The JavaBeans designs patterns specify special method called __________ method

    1. getter method
    2. setter method
    3. both of these
    4. none of these

  1. The getter method names must start with the  _________ prefix

    1. set
    2. get
    3. pet
    4. all of these

  1. The setter method names must start with the  _________ prefix

    1. set
    2. get
    3. pet
    4. all of these

  1. NP is a property ___________

    1. Pattern
    2. Type
    3. Name
    4. None of these

  1. TP is a property ___________

    1. Pattern
    2. Type
    3. Name
    4. None of these

  1. The second method of throws TooManyListenersException.it is used  to _______

    1. Unitcast
    2. Utilcost
    3. Unicost           
    4. None of these

    1.  
  1. The design pattern for removing a listener is:

    1. RemoveTlistener
    2. removeTListener
    3. Removetlistener
    4. None of these

  1. This method is used to determine a beans events
    1. EventSetDescritor []  Geteventsetdescriptors():
    2. EventSetDescritor []  Geteventsetdescriptors();
    3. EventSetDescritor []  getEventSetDescriptors():
    4. EventSetDescritor ()  GetEventsetDescriptors[]:
  2. This method is used to determine a beans properties:
    1. PropertyDescriptor [] getPropertyDsecriptors ():
    2. PropertyDescriptor [] getPropertyDsecriptors ();
    3. PropertyDescriptor [] getPropertyDsecriptors []:
    4. PropertyDescriptor  getPropertyDsecriptors ():
  3. This method is used to determine a beans method:
    1. MethodDescriptor [] getMethodDescriptor () :
    2. MethodDescriptor [] getMethodDescriptor () ;
    3. MethodDescriptor [] getMethodDescriptor [] :
    4. MethodDescriptor  getMethodDescriptor [] :
  4. A bean can be serialized by implementing ___________ interface:
    1. Java.io.serializable
    2. Java.io.Serializable
    3. java.io.Serializable
    4. None of these

1 comment :

  1. Watch and Download world's famous action drama series Kurulus Osman Season 3 in English on link below
    👇
    Kurulus Osman Season 3

    Kurulus Osman Season 3 Episode 1
    On link below
    Kurulus Osman Season 3 Episode 1

    Crypto trading course
    Join on link below
    Crypto quantum leap

    Online YouTube course
    Be a professional YouTuber and start your carrier
    Tube Mastery and Monetization by matt

    Best product for tooth pain ,
    Cavity ,
    Tooth decay ,
    And other oral issues
    Need of every home
    With discount
    And digistore money back guarantee
    Steel Bite Pro

    ReplyDelete