Java interview preparation Quiz 3 Welcome to your Fresher Interview Preparation - Java Skills - 3 Name Email Phone Number 1. The ________________ defines a means to retrieve successive elements from a data structure.dataenumeration interfaceinterfacenone2. The ______________ implements a group of bits or flags that can be set and clearedindividually.bitset classobjectnoneclass3. A __________________ is a unified architecture for representing and manipulatingcollectionsnoneCollections frameworkframework4. An inner class declared without a class name is known as an _________________ inner class.datanoneAnonymousdigital5. ___________ are used to access the private members of a classnoneInner classesclassesOuter classes6. __________ are exceptions thrown explicitly by the application or the API programmers.programmatic exceptionsnonesystematicdata7. A ___________ is a nested class which is a static member of the outer class.datastatic inner classaddressnone8. ____________ are used in java in order to prevent naming conflicts.objectnonePackagesdata9. The _____________ is similar to a traditional java array.nonevector classdataaddress10. A class uses the _______________ keyword to implement an interface.!dataimplementsnonecompliments11. An ________ method contains a method signature, but no method body.nonedataabstractclass12. The classes and interfaces of the collections framework are in package ____________.java.utildata.utilmemory.utilnone13. Classes ______________ and __________________ are high-level streams that contain themethods for serializing and deserializing an object.Objectinputstream and Objectoutputstreamdata and memoryinput and output.none14. ___________ is the keyword used to inherit the properties of a class.addressextendsmemorynone15. _____________ can be defined as the process where one class acquires the properties ofanother.datanoneaddressInheritance16. The _____________ keyword is used to declare an interface.bytesdatanoneinterface17. The ______________ must appear after the package statement and before the classdeclaration.memorynoneimport statementsaddress18. Collections define ___________ static variables.fourtwothreenone19. A ___________ can be defined as a grouping of related types ( classes, interfaces,enumerations and annotations) providing access protection and namespace management.objectpackageclassnone20. A class which contains the abstract keyword in its declaration is known as _________ class.classabstractnonedata21. The ____________ class implements a last-in-first-out (LIFO) stack of elements.dataFIFOnonestack22. Java-2 has introduced a new framework called _________________ .rameworknoneaddresscollections framework23. An interface can extend _________ interfacesdatasingledualnone24. The ______________ class provides a means of organizing data based on some user-definedkey structure.memorynonedataHashtable25. Inner classes are of ___________ typesonenonethreetwo26. In object-oriented terms , overriding means to override the functionality of an existingmemorynonemethoddata27. Properties is a subclass of ______________.nonestackstructurehashtable28. _______________ is a collection of abstract methods.Interfacenonedataclass29. The ________________ class is an abstract class that defines a data structure for mappingkeys to values.Dictionaryclassnoneobject30. An interace is written in a file with a __________ extension.noneobject.data.java31. ________________ in java is a mechanism of wrapping the data and code acting on the datatogether as a single unit.encpasulationnoneencapsulationdata32. Java provides a mechanism, called ______________ where an object can be representedas a sequence of bytes that includes the object's data as well as information about the object's typeand the types of data stored in the object.memorydataobject serializationnone33. ______________ is a process of hiding the implementation details from the user, only thefunctionality will be provided to the user.abstractionnonememorydata34. The Super keyword is similar to ___________ keyword.thatwhosenonethis35. There are ________ types of inheritancethreefouronetwo36. A java class can only extend _________ parent class.onethreenonetwo37. ____________ provide compile-type safety that allows programmers to catch invalid types atGenericsdatanonememory38. The most common use of __________ in OOP occurs when a parent class reference is used torefer to a child class object.formdatanonepolymorphism39. The class whose properties are inherited is known as ___________.nonesuperclassthingsdata40. An _________ is invoked at run time, no matter what data type the reference is that was usedin the source code at compile time.functionmemorynoneoverridden method41. The __________ keyword is used to extend an interface.objectextendsnonedata42. The class that holds the inner class is called the ___________nonedataouter classInner class43. In Java, __________________ is achieved using abstract classes and interfaces.databasememory.noneabstraction44. A _________________ is an object that can hold references to other objects.datanonememorycollection45. The class which inherits the properties of other is known as ____________.nonedatasubclassInheritance46. A ____________ class creates a special type of array that hold bit values.setdatasetBitsetnone47. A ____________ class declaration looks like a non-generic class declaration except that theclass name is followed by a type parameter section.datanonegenericmemory48. Nested classes are divided into __________ typesfournonetwothree49. When invoking a superclass version of an overridden method the _____________ keyword isused.datamethodsupernonePlease fill in the comment box below. Time is Up!