OO Concepts
Methods
Java Definitions
Java Rules
Java & Database
100
If a class has public attributes, what OO (object oriented) principle are you violating?
What is Encapsulation
100
()
What is Method Signature
100
Identifies and discards objects no longer actively used by the program's execution
What is the Garbage Collector?
100
Common method used as an entry point for a java program
What is Main?
100
A popular driver used by java to access databases
What is JDBC?
200
When you change the implementation of a super class method
What is a Overriding
200
Happens when a method calls itself
What is recursion
200
A program written in the Java(TM) programming language to run within a web browser compatible with the Java platform.
What is an Applet?
200
Java programs can run, without changes, on multiple platforms because of this
What is JVM (Java Virtual Machine)
200
Category of SQL that uses Select, Update, Insert & Delete
What is DML?
300
A class should describe a single entity, and all the class operations should logically fit together to support a single purpose.
What is cohesion / coherence?
300
Modifier/mutators that will allow external users to view the method's implementation
What is ... none. No modifier will display the method's implementation.
300
____ is a platform-independent file format that aggregates many files into one. Multiple applets written in the Java(TM) programming language, and their requisite components (.class files, images, sounds and other resource files) can be bundled in this....
What is a JAR file?
300
Method that will force one thread to wait for another to finish
What is Join()?
300
The opposite of Grant
What is Revoke?
400
OO Concept that uses "InstanceOf" keyword
What is polymorphism
400
Kind of method that can only be called within the same class
What is a private method
400
These classes are distinguished by the fact that you may not directly construct objects from them using the new operator.
What is an Abstract class?
400
Consider the following code snippet: int i = 10; int n = i++%5; Values of i & n?
What is 11 and 0?
400
Database object that stores a saved query AND a copy of the data
What is a Materialized View?
500
"Extends" will create a subclass / superclass relationship (SuperClass A will be inherited by SubClass B). If you wanted to explicitly call the super class's constructor, where would you specify the 'Super()' keyword?
What is the first statement in the subclass constructor?
500
Parameters can be passed to Main using these
What is Command Line arguments?
500
Concurrency is handled in java with these
What is thread pools / thread execution
500
Consider the following statement: While (True) { If (cond1 = True) && (cond2 = True) } What will end the 'While' loop?
What is break;
500
Command that will delete all the rows from a table, but can't be undone
What is truncate?
M
e
n
u