Question: Can somone help with these JAVA definitions please? 1 The ____________________ is appropriate when the loop body must be executed at least once. 2 A

Can somone help with these JAVA definitions please?

1 The ____________________ is appropriate when the loop body must be executed at least once.

2 A ____________________ value denotes the end of a data set, but it is not part of the data.

3 An objects ____________________ variables store the data required for executing its methods.

4 When copying an object reference, you have ____________________ references to the same object.

5 When ____________________ a method, you provide a name for the method, a variable for each argument, and a type for the result.

6 Java has two Boolean operators that combine conditions: ____________________ and ____________________.

7 Use the ____________________ for loop if you do not need the index values in the loop body.

8 An ____________________ for solving a problem is a sequence of steps that is unambiguous, executable, and terminating.

9 A ____________________ instance variable can only be accessed by the methods of its own class.

10 ____________________ are the fundamental building blocks of Java programs.

11 ____________________ is an informal description of a sequence of steps for solving a problem.

12 The compiler picks the constructor that matches the construction ____________________.

13 Use the + operator to ____________________ strings; that is, to put them together to yield a longer string.

14 Use the ____________________ method to extract a part of a string.

15 With a partially filled array, keep a ____________________ variable for the current size.

16 You can introduce randomness by calling the ____________________.

17 A ____________________ describes a set of objects with the same behavior.

18 A ____________________ search inspects elements in sequence until a match is found.

19 A ____________________ is a common error when programming loops. Think through simple test cases to avoid this type of error.

20 A string is a sequence of characters enclosed in ____________________.

21 If both arguments of / are integers, the remainder is ____________________.

22 Java programs are distributed as instructions for a ____________________, making them platform- independent.

23 Use the ____________________ class to read keyboard input in a console window.

24 A typical use of ____________________ loops is printing a table with rows and columns.

25 ____________________ if statements can be combined to evaluate complex decisions.

26 Multiple object ____________________ can contain references to the same object.

27 A constructor is invoked when an object is created with the ____________________ operator.

28 Every class has a ____________________: a collection of methods through which the objects of the class can be manipulated.

29 If you do not provide a constructor, a constructor with no ____________________ is generated.

30 The ____________________ operator adds 1 to a variable; the -- operator subtracts 1.

31 The ____________________ yields the number of characters in a string.

32 You can use a ____________________ variable to control a loop. Set the variable to true before entering the loop, then set it to false to leave the loop.

33 A ____________________ is a violation of the programming language rules that is detected by the compiler.

34 ____________________ are supplied when a method is called.

35 When the body of a loop contains another loop, the loops are ____________________.

36 You use a ____________________ (typeName) to convert a value to a different type.

37 A ____________________, which occurs if you supply an invalid array index, can cause your program to terminate.

38 A class can have ____________________ constructors.

39 A ____________________ is a named sequence of instructions.

40 A ____________________ causes a program to take an action that the programmer did not intend.

41 An instance ____________________ can access the instance variables of the object on which it acts.

42 By convention, variable names should start with a ____________________ letter.

43 Call the ____________________ or ____________________ method to ensure that the next input is a number.

44 Individual elements in a ____________________ array are accessed by using two index values, array[i][j].

45 The ____________________ method compares strings in lexicographic order.

46 The ____________________ statement terminates a method call and yields the method result.

47 An array index must be at least ____________________ and less than the size of the array.

48 When the body of a loop contains another loop, the loops are ____________________.

49 You use a ____________________ (typeName) to convert a value to a different type.

50 A ____________________, which occurs if you supply an invalid array index, can cause your program to terminate.

52 A class can have ____________________ constructors.

53 A ____________________ is a named sequence of instructions.

54 A ____________________ causes a program to take an action that the programmer did not intend.

55 An instance ____________________ can access the instance variables of the object on which it acts.

56 By convention, variable names should start with a ____________________ letter.

57 Call the ____________________ or ____________________ method to ensure that the next input is a number.

58 Individual elements in a ____________________ array are accessed by using two index values, array[i][j].

59 The ____________________ method compares strings in lexicographic order.

60 The ____________________ statement terminates a method call and yields the method result.

61 ____________________ if statements can be combined to evaluate complex decisions.

62 Multiple object ____________________ can contain references to the same object.

63 A constructor is invoked when an object is created with the ____________________ operator.

64 Every class has a ____________________: a collection of methods through which the objects of the class can be manipulated.

65 If you do not provide a constructor, a constructor with no ____________________ is generated.

66 The ____________________ operator adds 1 to a variable; the -- operator subtracts 1.

67 The ____________________ yields the number of characters in a string.

68 You can use a ____________________ variable to control a loop. Set the variable to true before entering the loop, then set it to false to leave the loop.

69 A ____________________ is a violation of the programming language rules that is detected by the compiler. .

70 ____________________ are supplied when a method is called.

71 To count values that fulfill a condition, check all values and ____________________ a counter for each match.

72 To find the ____________________ value, update the largest value seen so far whenever you see a larger one.

73 Use ____________________ to add explanations for humans who read your code.

74 Use ____________________ ( < <= > >= == !=) to compare numbers.

75 Use the if statement to implement a decision.

76 When a decision statement is contained inside the branch of another decision statement, the statements are ____________________.

77 A method is called by specifying the method and its ____________________.

78 An array ____________________ can be used like any variable.

79 An array ____________________ specifies the location of an array. Copying the ____________________ yields a second ____________________ to the same array.

80 Java is ____________________. You must be careful about distinguishing between upper and lowercase letters.

81 The compiler ____________________ comments.

82 Use the ____________________ statement to use classes from packages.

83 A ____________________ is a storage location with a name.

84 An ____________________ collects a sequence of values of the same type.

85 By default, numbers are initialized as ____________________, Booleans as ____________________, and object references as ____________________.

86 Encapsulation enables changes in the implementation without affecting ____________________ of a class.

87 An ____________________ method does not change the object on which it operates.

88 ____________________ are made up of elements for tasks, input/output, and decisions.

89 String positions are counted starting with ____________________.

90 The assignment operator _________________ does not denote mathematical equality.

91 ____________________ is the act of providing a public interface and hiding the implementation details.

92 Use the expression ____________________ to find the number of elements in an array.

93 You cannot change the value of a variable that is defined as ____________________.

94 A ____________________ initializes the instance variables of an object.

appropriate

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!