Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - Monday, December 28, 2009
Blog
 
# Monday, December 28, 2009

One Sentence summary of the purpose of the UML Model:


1. Use Cases - "How will our system interact with the outside world?"
2. Class Diagram - "What objects do we need? How will they be related?"
3. Collaboration Diagram - "How will the object interact?"
4. Sequence Diagram - "How will the objects interact?"
5. State Diagram - "What stats should our objects be in?"
6. Package Diagram -"Show are we going to modularise our development?"
7. Component Diagram -"How will our software components be related?"
8. Deployment Diagram -"How will the software be deployed?"

Monday, December 28, 2009 12:29:30 PM (GMT Standard Time, UTC+00:00)  #    Comments [0]   UML  | 
# Tuesday, December 22, 2009

The passenger traveling at the fare being validated that is required to travel with another passenger.

Tuesday, December 22, 2009 6:27:35 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Travel Domain  | 

In an interface class, all methods are abstract - there is no implementation. 

In an abstract class some methods can be concrete.  In an interface class, no accessibility modifiers are allowed. 

An abstract class may have accessibility modifiers. 
 

Tuesday, December 22, 2009 5:54:55 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Yes.  .NET does support multiple interfaces. 

Tuesday, December 22, 2009 5:53:27 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

They all must be public, and are therefore public by default. 

Tuesday, December 22, 2009 5:53:01 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Interfaces, like classes, define a set of properties, methods, and events. But unlike classes, interfaces do not provide implementation. They are implemented by classes, and defined as separate entities from classes. 

Tuesday, December 22, 2009 5:52:30 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

A class that cannot be instantiated.  An abstract class is a class that must be inherited and have the methods overridden.  An abstract class is essentially a blueprint for a class  with or without implementation. 

Tuesday, December 22, 2009 5:50:36 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Yes.  Just leave the class public and make the method sealed. 

Tuesday, December 22, 2009 5:49:19 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

Yes.  The keyword “sealed” will prevent the class from being inherited. 

Tuesday, December 22, 2009 5:48:26 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 

The data value may not be changed.  Note: The variable value may be changed, but the original immutable data value was discarded and a new data value was created in memory. 

System.String is immutable.  System.StringBuilder was designed with the purpose of having a mutable string where a variety of operations can be performed. 

Tuesday, December 22, 2009 5:47:19 AM (GMT Standard Time, UTC+00:00)  #    Comments [0]   Interview Question .Net  | 
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: