GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

CE203

B O U Y B O Y Englisch 18 Karten

CE203

Karten in diesem Stapel (18)

  1. 1Print from Database TablePrint from Database Table
  2. 2Insert to Database tableInsert to Database table
  3. 3Method Overloading• Can supply several definitions for a method within the same class.
    • As long as each one has different input types.
    • Statically bound
  4. 4Specialisation & Interfaces• Both provide support for polymorphism
    • Both define methods that can operate on different types
    • Implemented through dynamic binding
  5. 5Dynamic Binding• When a method is redefined
    • And the method is called on an object
    • The closes definition to the object, in the object class, is applied
    Dynamic Binding
  6. 6Abstract classes• Partial specifications
    • Cannot be instantiated
    • Must contain at least 1 abstract method
    • Subclass can be instantiated if they apply full definitions for methods
    • Can only be inherited from
    • Using extends
  7. 7Interface• Extreme example of an abstract class
    • Can only have public static final variables (constants)
    • Cannot have a constructor
    • Can only be implemented
    • Can only extend other interfaces
    • Methods cannot be static
  8. 8ActionListenerActionListener
  9. 9Event-Related Programming• Procedural programming
    • Methods call other methods
    • Event-driven programming
    • After initialisation, the program waits for events to occur
    • Cannot determine execution order by examining code
  10. 10CompareTo ImplementationCompareTo Implementation
  11. 11Generics• Allows a type or method to operate on various types of objectGenerics
  12. 12Genereics - Type parameter• Type parameter - <>
    • Tells compiler that when List interface is invoked, the type parameter should be replaced with a type argument
  13. 13Exceptions: Checked vs Unchecked• Checked
    • Checked at compile time
    • Must implement exception handling
    • FileNotFoundException, IOException
    • Unchecked
    • Cannot be checked at compile time
    • Should implment exception handling
    • Error, RuntimeException
  14. 14CAP• Consistent
    • Availible
    • Partition Tolerant
  15. 15ExceptionsExceptions
  16. 16Delete from Database TableDelete from Database Table
  17. 17Java Security Manager• Java is designed to work in a distributed environment
    • Code can be downloaded dynamically untrusted sources
    • Running such code alongside
    confidential information is risky
    • Security built into Java via access control
  18. 18Iterate through TreeSet ValuesIterate through TreeSet Values

Informationen

Beschreibung
Karteikarten am CE203, erstellt von B O U Y B O Y am 20/05/2019.
Erstellt von
B O U Y B O Y
Aufrufe
1
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck