stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Di Ambang Quiz 1 CSC238 Flashcards | StudBud
Explore
/
Di Ambang Quiz 1 CSC238
Di Ambang Quiz 1 CSC238
10 terms
·
StudBud Administration
·
11 plays
To introduce the basics of Object Oriented Programming
Flashcards
10 cards
F
Practice quiz
P
Host live
L
Questions
10
Answers
1
All of the following are the Java reserved words,
EXCEPT
switch
case
import
compiler
2
The practice of
hiding the details
of what goes on inside an object is known as ________.
inheritance
encapsulation
polymorphism
access modification
3
Which of the following functions will be used to
convert to the required data type
?
Additional function
The main function
Parse function
None of the above
4
What are the two most important concepts in object-oriented programming?
Objects & classes
Objects & programming
Objects & inheritance
Objects & orientation
5
Consider the following program, which is the
behavior
of the class?
getAge()
age
Person
name
6
Object
behaviors
are exposed through the use of _________.
states
interfaces
properties
methods
7
Which of the following statements is
NOT
an advantage of Object Oriented Programming?
Avoids redundancy in coding
Increases the amount of maintenance effort
Enables faster program development
Saves time of program development
8
When a Java program runs, which of the following
method runs first
?
The executable method
The helper methods
The main method
The class method
9
Which of the following is
NOT
the element of Object Oriented Programming?
Object
Identity
Attribute
Behaviour
10
What is a
class
?
A special constructor
None of the above
An object in memory
The definition of an object, specifies attributes & behavior