Sunteți pe pagina 1din 2

Java Vocabulary

Study online at quizlet.com/_2fds3


1.

access specifier accessor method aggregation ArrayList arrays auto-boxing base class collaborators compiler compound statement condition construction constructor dependency derived class

a keyword that indicates the accessibility of a feature, such as private or public a method that accesses an object but does not change it the has-a relationship between classes a class that implements a growable array of objects

25. 26. 27. 28.

hierarchies Identifier immutable Implicit

lol he didnt give a definition name of a variable, method or class cannot be changed the object on which a method is invoked. For example, in the call x.f(y), the object x is the implicit parameter of method f loops that have no end relationship between a subclass and its superclass, the subclass is more specialized than the superclass a class that is defined inside another class a variable defined in a class for which every object of the class has its own value a type with no instance variables, only abstract methods and constants inheritance relationship a sequence of statements that has a name, may have formal parameters, and may return a value a method that changes the state of the object a loop that is contained within another loop a value of a class type (Rectangle box = new ractangle --> rectangle is the Object) a value that denotes the location of the object in memory a symbol denoting a mathematical or logical operation a method with the same name, but different arguments redefining a method in a subclass an item of information that is specified to a method, when the method is called selecting a method among several methods that have the same name on the basis of the actual types of implicit parameters a condition that is true after a method has been called a condition that must be true when a method is called if the method is to work correctly a number type(int, double) or boolean a value that denotes the location of an object in memory (Rectangle box = new Rectangle --> box is the reference to the object)

2.

3. 4.

29. 5.

a collection of values of the same type stored in contiguous nenory locations automatically converting a primitive type value into a wrapper type object a general class, from which a more specialized class inherits a class on which another class depends a program that translates code into machine language a statement such as if or while that is made up of several parts such as a condition and a body a circumstance that must be met setting an newly allocated object to an initial state a method that initializes a newly instantiated object one class needs services provided by another class a class that inherits variables and methods from a superclass but adds instance variables, adds methods, or redefines methods see do-while do{ statement }while(condition) assigned to values data (ex. Data[0]) hiding of implementation details a parameter of a method other than the object on which the method is invoked. They are enclosed by parenthesis (initialization; condition; update) for (Type variable: collection){ Statement } a method that gets parameters denotes that objects of one class contain references to objects of another class

infinite loops inheritance

30.

6.

31. 32.

inner class instance Interface is-a method

7.

8. 9.

33.

34. 35.

10.

11. 12.

36.

mutator method nested loops object object reference operator overloading overriding parameter polymorphism

37. 38.

13.

14.

39.

15.

40.

41.

16. 17.

do loop do-while-loop

42. 43.

18. 19. 20.

element encapsulation Explicit

44.

45.

postconditions preconditions

21. 22.

for loops for-each-loop

46.

47. 48.

primitive types reference

23. 24.

getter has-a

49. 50. 51. 52. 53. 54. 55. 56. 57. 58. 59.

reference return type scope setter side effects simple statement String typecasting Variable while loop wrapper classes

a value that denotes the location of an object in memory such as double or void the part of the program in which a variable is defined a method that sets parameters an effect of a method other than returning a value a statement consisting of only an expression a sequence of characters refers to changing an entity of one datatype into another a symbol in a program that identifies a storage location that can hold different values while (condition) a class that contains a primitive type value, such as an integer

S-ar putea să vă placă și