Which four are true? (Choose four.)
Has-a relationships should never be encapsulated.
Has-a relationships should be implemented using inheritance.
Has-a relationships can be implemented using instance variables.
Is-a relationships can be implemented using the extends keyword.
Is-a relationships can be implemented using the implements keyword.
An array or a collection can be used to implement a one-to-many has-a relationship.
Given: 11. public class Key { 12. private long id1; 13. private long 1d2; 14. 15. // class Key methods 16. } A programmer is developing a class Key, that will be used as a key in a standard java.util.HashMap. Which two methods should be overridden to assure that Key works correctly as a key? (Choose two.)
public int hashCode()
public boolean equals(Key k)
public int compareTo(Object o)
public boolean equals(Object o)
public boolean compareTo(Key k)
AppDomains are usually created by hosts
True
False
Which tool is used to generate PE files from MSIl code?
ildasm
ilasm
capol
resgen
Placing web service files in one of these folders, generates a proxy class(out of .wsdl) and a typed dataset (out of .xsd). What is the name of the folder?
App_Data
App_Resources
App_Code
App_WebReferences
Which of the page directive defines the class or virtual path used to type the Master property of a page?
@MasterType
@MasterPage
@Master
@MasterPath
What is called as a collection of CSS files and images?
Skin
Themes
CSS_folder
None
POST is an IDEMPOTENT method.
service() method - it's advisable to override it in our applications.
In MVC architecture, VIew means the JSP.