CS506 Assignment 1 Solution Spring 2021
employee.txt1110, ALI, CS, MS, 5, 70000 1120, Abdullah, MGT, PhD, 10, 125000 1022, Ilyas, Bio, Master, 7, 50000 1022, Ahmad, MassCom, MS, 3, 60000
The keyword “this” is used to ________
invoke constructor of the another class
invoke alternate constructor of the same class
invoke constructor of super class from sub class
invoke constructor of sub class from super class
Java defines _____ for the listener interfaces having more than one vent handling methods.
Answer: Adapter Classes (right Answer)
DSN stands for _________
Answer: Data Source Name
JDBC-ODBC stands for ________.
Answer: JDBC stands for java database connectivity.
== Operator compares _________ of strings whereas equals() method compares _________ of strings.
Answer: Addresses, values
Overloading is _______ whereas overriding is _____
Answer: Compile time binding, run time binding
Java defines ________ for the listener interfaces having more than one event handling methods.
Answer: Event Listeners
A database that is created in MS Access 2003 will be saved with _________ extension.
Based on functionality, the streams can be categorized as ________
Answer: Node stream and Filter stream
AWT is a GUI Package used in java. AWT stands for_________
Answer: Abstract Window Toolkit