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

Karteikarten

Intro to Classes and Objects

nhunsdale02 Programming I Masters Englisch 12 Karten

Karten in diesem Stapel (12)

  1. 1Declaring a Class What is an example of a pre-existing class?Scanner
  2. 2What does a program require to perform a task?A Method
  3. 3What does a method house?Statements
  4. 4Are these statements in the methods visible to the user?No
  5. 5What is used to design classes?UML
  6. 6Instantiating an Object In order to use the instance variables and methods of another class, you need to create and object of that class. AKA _____instantiating
  7. 7What does instantiating a class mean the same as?Creating an object
  8. 8Instantiating a Class How does the new operator instantiate a class?Allocates memory for a new object and it invokes the object constructor
  9. 9Explain what these segments of code are NumberClass numbers = new NumberClass(2,3);NumberClass is another class (object) somewhere on the project and this object is now referred to as "numbers"
  10. 10What is a method signature?A type signature or type annotation defines the inputs and outputs for a function, subroutine or method.
  11. 11To invoke a method from another class you will need knowledge of the _____ _____method signature
  12. 12You must compile with the method signature or a _____ _____ error will occurrcompile time

Informationen

Beschreibung
Masters Programming I Karteikarten am Intro to Classes and Objects, erstellt von nhunsdale02 am 05/06/2014.
Erstellt von
nhunsdale02
Aufrufe
13
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck