Answer the following statements true (T) or false (F)

1. The private object fields can be directly manipulated by outside entities.
2. When a class variable is assigned the address of an object, it is said that the variable references the object.
3. In an inheritance relationship, the superclass inherits members from the subclass.
4. When an object’s internal data is hidden from outside code and access to the data is restricted to the object’s methods, the data is protected from accidental corruption.


1. FALSE
2. TRUE
3. FALSE
4. TRUE

Computer Science & Information Technology

You might also like to view...

Consider a brokerage ?rm database with relations Holdings(AccountId, StockSymbol, CurrentPrice, Quantity) and Balance(AccountId, Balance). Write the triggers for maintaining the correctness of the account balance when stock is bought (a tuple is added to Holdings or Quantity is incremented), sold (a tuple is deleted from Holdings or Quantity is decremented), or a price change occurs. Solve the

problem using both row-level and statement-level triggers. Give an example of a situation when row-level triggers are more appropriate for the above problem and when statement-level triggers are more appropriate. What will be an ideal response?

Computer Science & Information Technology

To prevent changes and make a presentation read-only, use the ________ command

Fill in the blank(s) with correct word

Computer Science & Information Technology

Your company recently had a third party review all internal procedures. As a result of this review, the third party made several recommendations for procedural changes. One of the recommendations is that critical financial transactions should be split between two independent parties. Of which principle is this an example?

A. job rotation B. separation of duties C. least privilege D. mandatory vacation

Computer Science & Information Technology

By definition, a table cannot be in 1NF unless it is already in 2NF, and it cannot be in 3NF unless it is in 2NF.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology