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.interfaceenumeration interfacedatanone2. There are ________ types of inheritancefouronethreetwo3. The class that holds the inner class is called the ___________nonedataInner classouter class4. The ______________ implements a group of bits or flags that can be set and clearedindividually.classbitset classnoneobject5. The classes and interfaces of the collections framework are in package ____________.nonememory.utiljava.utildata.util6. The most common use of __________ in OOP occurs when a parent class reference is used torefer to a child class object.formdatanonepolymorphism7. An inner class declared without a class name is known as an _________________ inner class.digitalnoneAnonymousdata8. The ______________ must appear after the package statement and before the classdeclaration.addressimport statementsnonememory9. __________ are exceptions thrown explicitly by the application or the API programmers.programmatic exceptionssystematicnonedata10. The class whose properties are inherited is known as ___________.superclassthingsnonedata11. The class which inherits the properties of other is known as ____________.noneInheritancedatasubclass12. An ________ method contains a method signature, but no method body.noneabstractdataclass13. A __________________ is a unified architecture for representing and manipulatingCollections frameworknonecollectionsframework14. ___________ is the keyword used to inherit the properties of a class.extendsmemoryaddressnone15. A ___________ can be defined as a grouping of related types ( classes, interfaces,enumerations and annotations) providing access protection and namespace management.packageobjectclassnone16. The _____________ is similar to a traditional java array.addressdatavector classnone17. A class uses the _______________ keyword to implement an interface.!implementsnonedatacompliments18. In Java, __________________ is achieved using abstract classes and interfaces.memorydatabase.noneabstraction19. The _____________ keyword is used to declare an interface.interfacebytesdatanone20. The ____________ class implements a last-in-first-out (LIFO) stack of elements.noneFIFOstackdata21. When invoking a superclass version of an overridden method the _____________ keyword isused.methodsuperdatanone22. A ____________ class declaration looks like a non-generic class declaration except that theclass name is followed by a type parameter section.genericnonedatamemory23. ____________ provide compile-type safety that allows programmers to catch invalid types atdatanonememoryGenerics24. ________________ in java is a mechanism of wrapping the data and code acting on the datatogether as a single unit.encpasulationencapsulationdatanone25. An _________ is invoked at run time, no matter what data type the reference is that was usedin the source code at compile time.memoryfunctionnoneoverridden method26. A ___________ is a nested class which is a static member of the outer class.nonestatic inner classaddressdata27. An interface can extend _________ interfacesdualsingledatanone28. The __________ keyword is used to extend an interface.nonedataobjectextends29. _______________ is a collection of abstract methods.classInterfacenonedata30. Collections define ___________ static variables.nonetwofourthree31. An interace is written in a file with a __________ extension..java.dataobjectnone32. Classes ______________ and __________________ are high-level streams that contain themethods for serializing and deserializing an object.data and memorynoneinput and output.Objectinputstream and Objectoutputstream33. Java-2 has introduced a new framework called _________________ .collections frameworkaddressnoneramework34. ___________ are used to access the private members of a classOuter classesclassesInner classesnone35. Properties is a subclass of ______________.hashtablenonestackstructure36. The Super keyword is similar to ___________ keyword.thatthisnonewhose37. 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.object serializationnonememorydata38. The ________________ class is an abstract class that defines a data structure for mappingkeys to values.Dictionarynoneobjectclass39. Nested classes are divided into __________ typesfourthreetwonone40. ____________ are used in java in order to prevent naming conflicts.objectPackagesdatanone41. The ______________ class provides a means of organizing data based on some user-definedkey structure.dataHashtablenonememory42. Inner classes are of ___________ typestwothreeonenone43. A class which contains the abstract keyword in its declaration is known as _________ class.abstractdataclassnone44. A ____________ class creates a special type of array that hold bit values.datasetBitsetsetnone45. In object-oriented terms , overriding means to override the functionality of an existingmethoddatamemorynone46. A java class can only extend _________ parent class.nonethreeonetwo47. _____________ can be defined as the process where one class acquires the properties ofanother.noneaddressdataInheritance48. ______________ is a process of hiding the implementation details from the user, only thefunctionality will be provided to the user.abstractionnonedatamemory49. A _________________ is an object that can hold references to other objects.collectionnonememorydataPlease fill in the comment box below. Time is Up!