1 / 1100%
A bad programming habit is to build an initial program and then spend a great deal of time modifying the code until it is acceptable. the build-and-fix approach
In general, spending more time in development to ensure better software will greatly reduce maintenance efforts.
which of the following development methods takes object-oriented programming issues into account evolutionary development method
to test the feasibility of a programming decision such as the inclusion of an object or the implementation of a method, a programmer might build a prototype
the term test case is used to express a set of inputs or user actions and the expected outputs to be used in testing out software True
A software development model is an organized approach to create quality software. True
The type of the reference, not the type of the object, is used to determine which version of a method is invoked in a polymorphism reference. True
in Black Box testing the system should already know something about how the program is implemented so that he/she can more carefully identify what portions of the software are leading to errors
False
Abstract methods are used when defining interface classes.
The purpose of toString() method is to give a human readable representation of the object.
An accessor method can be defined to access private variable in the class since private data cannot be accessed from outside of the class.
A mutator method can be defined to modify private variable in the class.
A constructor is a special method that is used to create a new object.
Define a constructor with two parameters int x, y for the class Point. public Point(int x, int y){ this.x = x; this.y = y;}
The this reference refers to the instance of the object.
What is the keyword that associates a variable or method with the class side of an object? Static
Having multiple class methods of the same name where each method has a different number of or type of parameters in known as method overloading
All classes in java are directly or indirectly subclasses of the Object class.
Can you add any type of objects to an ArrayList object? Yes
Can two variables store a reference to the same object? Yes
Polymorphism is achieved by overriding.
Autoboxing is the automatic conversion of a wrapper object to/from its corresponding primitive type.
instance variables are global to all instance methods of the class,
local variables are only visible to the method scope in which it was defined.
Do all classes need a main method? No, only one class should have a main method which is the entry point to your program.
What is Software Engineering?An attempt to produce a repeatable process for the development and management of software projects.
the relationship between development and maintenance effort. Small increases in development effort can reduce maintenance effort
What is a code walkthrough? A meeting in which several people carefully review a design/ sections of code to see if the design satisfies requirement or the implementation represent the design
Powered by TCPDF (www.tcpdf.org)
Students also viewed