Java - Online Test - Ear - javasearch.buggybread.com


Share

Search Java Test Questions


 223 test questions in repository.




Java - Test Questions on 'ear' - 8 questions found


Which of the following is usually not part of EAR file ?Java EE
Server Configuration files
HTML and Media Files
Application Configuration files
Class files

  ear  deployment  servers  java

Binary Search requires that the collection should beAlgorithm
Sorted in Ascending Order
Sorted in Descending Order
Sorted in any Order
Unsorted

  Binary Search  Search  Algorithm

Which of the following class creates mutable objects ?Core Java
Boolean
File
String
StringBuffer

  java  immutable

What will be the output of exceuting main method ?

public static void main(String[] args){
      List list = new ArrayList();
      list.add(1);
      list.add(2);
      list.add(3);
      System.out.println(list);
   }
Core Java
1,2,3
Order cannot be determined
compilation error
3,2,1

  collections  list  arraylist

Which of the following class creates immutable objects ?Core Java
String
StringBuffer
StringBuilder
None of these create immutable objects.

  String  StringBuffer  StringBuilder  Immutable

Which of the following about Garbage collection is false ?Core Java
We can call Garbage collection explicitly
Garbage Collection guarantees that the application will not run out of memory
finalize method is used by Java for Garbage Collection
Garbage Collection Mechanism delete unclaimed objects that are no longer required

  garbage collection

Which of the following session method is used to disassociate / disconnect all objects from the sessionHibernate
Clear
Evict
Close
Merge

  

Which of the following session method is used to disassociate / disconnect a particular object / entity from the sessionHibernate
Clear
Evict
Close
Merge

  Hibernate  Hibernate Session







comments powered by Disqus