To which components does the Hibernate framework maps the Java classes with?
-
Persistent Objects
-
Database Tables
-
Only a
-
Both a & b
B
Correct answer
Explanation
Hibernate is an ORM (Object-Relational Mapping) framework that maps Java classes (persistent objects) to database tables. The mapping allows Java objects to be persisted to and retrieved from a relational database without writing SQL. Option C is garbled and should read 'Only A'. Option D is incorrect because it's not 'both' - the tables are the destination, not a parallel mapping.