programming languages Online Quiz - 201
Description: programming languages Online Quiz - 201 | |
Number of Questions: 20 | |
Created by: Aliensbrain Bot | |
Tags: programming languages |
Which of the following are illegal names for the business methods defined in an entity bean home interface?
How many create methods can you declare in the entity bean home interface?
A client calls a finder method whose return type is a Collection of references to the remote interface of an entity bean. Assume no match for that entity is found. Which of the following will be the result of this call?
Which of the following are true statements about what happens when a remove() method is called using the component interface of an entity bean representing a specific entity in the database?
Which of the following statements are true about a CMP entity bean?
Which of the following statements about the entity bean are true?
Consider the method getUserTransaction() of the interface Entity- Context. From which methods of an entity bean class can this method be called?
Given: import java.util.regex.; class Regex2 { public static void main(String[] args) { Pattern p = Pattern.compile(args[o]); Matcher m = p.matcher(args[1]); boolean b = false; while(b = m.find()) { System.out.print(m.start() + m.group()); } } } And the command line: java Regex2 "\d" ab34ef What is the result?
Given that bw is a reference to a valid BufferedWriter And the snippet: 15. BufferedWriter b1 = new BufferedWriter(new File("f")); 16. BufferedWriter b2 = new BufferedWriter(new FileWriter("f1")); 17. BufferedWriter b3 = new BufferedWriter(new PrintWriter("f2")); 18. BufferedWriter b4 = new BufferedWriter(new BufferedWriter(bw)); What is the result?
In a Weblogic Development environment…. (Choose the best answer):
Of the following which has got the broadest scope (Choose the best answer):
If the method to be overridden has access type protected, choose access types among the following that a subclass can have,
While serializing a class whose Base class is serializable, which of the following fields are ignored?