Science Quiz / CS 1027 True or False

Random Science Quiz

Can you name the CS 1027 True or False?

 Plays Quiz not verified by Sporcle

Forced Order
Challenge
Share
Tweet
Embed
Score 0/23 Timer 10:00
QuestionTrue or False?
A child class can override a parent method that is declared as final.
Data encapsulation requires that instance variables be declared as private
The child of a class can be the parent of one or more classes.
Any method in a Java class Y can call public and private methods from X.
All Java classes are derived, directly or indirectly, from the Object class.
Polymorphism allows a reference variable to point to objects of unrelated types.
The reserved word super can be used in a class to refer to its parent class.
A Java interface contains an attribute (instance variable) declaration
Polymorphism is made possible through class inheritance
A static method within a class cannot be invoked without having to instantiate an object of that class.
The methods enqueue(), dequeue(), first(), size(), and isEmpty() from the class LinkedQueue have time complexity O(1).
An interface can be used even when it is not implemented by another class.
QuestionTrue or False?
A time complexity of for a program means that it will run in constant time.
Executable code is generally found in interfaces.
Inherited variables and methods can be used in a derived class as if they had been declared locally
If two object references are equal in state, then they refer to the same object.
The terms parent class, derived class, and base class all mean the same thing.
Generic types are bound at compile time.
A new class X derived from a class Y establishes an is-a relationship from class X to class Y.
The time complexity of an algorithm consists of the most dominant term of its growth function.
A Java interface should never have a constructor
The objects in a Java program are created when the program is being executed, as opposed to when it is compiled.
 

You're not logged in!

Compare scores with friends on all Sporcle quizzes.
Join for Free
OR
Log In

You Might Also Like...

Show Comments

Extras

Created Mar 9, 2013ReportNominate

Top Quizzes Today


Score Distribution

Your Account Isn't Verified!

In order to create a playlist on Sporcle, you need to verify the email address you used during registration. Go to your Sporcle Settings to finish the process.

Report this User

Report this user for behavior that violates our Community Guidelines.

Details: