Java interview preparation Quiz 1 Welcome to your Fresher Interview Preparation - Java Skills - 1 Name Email Phone Number 1. There are _________ types of loopnoneoneThreeTwo2. All characters available inside any comment are ignored by ________compiler.CJavanoneC++3. __________ operator is used only for object reference variables.Instanceofnonetypeofdataof4. If you want to put quotes within quotes you must use the escape sequence _________ on theinterior quotes.none/”//\”5. _________ class encapsulates the current date and time.noneUtildataJava.util6. Conditional operator is also known as the ______________ operator.nonetripledualTernary7. The ___________ modifier for finalizing the implementation of classes , methods andvariables.staticfinaldatanone8. A ____________ variable can be used to refer any object of the declared type or anycompatible type.referencetempnonedata9. Java is ___________ sensitive.casedatanamenone10. ____________ are variables within a class but outside any method.Instance variablenonedata variablesun variable11. There are ________ types primitive datatypes supported by java.fourthreeeightnone12. Names used for classes , variables and methods are called ____________.nonedatamodifiersidentifiers13. JDK 1.5 introduced a new for loop known as ___________ loop.dowhileforeachnone14. The ______________ modifier for creating class methods and variables.dynamicfinalnonestatic15. Java supports __________ types of comments.twothreesinglenone16. What are the _________ popular java editors ?fourtwothreenone17. Converting primitive data types into object is called _________.noneboxingtoxingdoxing18. A line containing only white space, possibly with a comment is known as a _______ lineblankdashwhitenone19. The Wrapper object will be converted back to a primitive data type and this process is called_______.doneunboxingboxingnone20. Java language has ______ types of modifiers.fourtwononethree21. There are ________ basic types of decision making statementsfourthreenonetwo22. It is developed by __________ MicrosystemsmoonSunnonesaturn23. _________ is a way of giving the proper location for the compiler to find that particular class.import statementdatanoneclasses24. Arrays are objects that store multiple variables of the __________ type.datadifferentsamenone25. Each object has its ___________ set of instance variables.uniquedifferentdatanone26. Static variables are stored in the _____________ memory.staticnonescopedynamic27. There are ________ categories of modifiers:threenonetwofour28. The __________ class contains various static methods for sorting and searching arrays,comparing arrays, and filling array elements.structurenonedataJava.util.arrays29. 27. _________ are created when the method, constructor or block is entered and the variable willbe destroyed once its exit the method, constructor or block.local variablesglobal variablesvariablesnone30. A ____________ preceded by a backslash (\) is an escape sequence and has a special meaningto the compiler.nonebytecharacterdata31. In Java programming language, strings are treated as __________.classdataobjectsnone32. In Java everything is an _________.datanoneobjectclass33. The _______________ modifier for creating abstract classes and methods.datafilterabstractnone34. It is released in _________.19961995none199735. Variables defined inside methods, constructors or blocks are called __________ variablesglobalnonedatalocal36. A method is basically a ____________.methodsstatebehaviornone37. _______________ have states and behaviors.dataObjectnoneclass38. ______________ is a concrete class for formatting and parsing dates in a locale-sensitivemanner.Simpledateformatdatastructuresimple39. There are ___________ steps when creating an object from a classtwoonenonethree40. There are __________ operators in Javasixfournoneseven41. What are the _________ ways to compare dates ?onenonethreetwo42. An array as a collection of variables of the __________ type.samedifferentnonevalue43. Java is a ______________ programming language.middle-levelnonelow-levelhigh-level44. There are _________ types of control statementstwoonethreenone45. There are ___________ data types available in javafourthreetwonone46. Java was initiated by ____________.MarknoneTonyJames Gosling47. The Synchronized and volatile modifiers which are used for _______threadsdataprocessnone48. The _________ class offers a number of useful class methods for manipulating characters.noneCharacterprimitivedata49. A ___________ is a source code representation of a fixed value.stringliteralnonedata50. There are ________ types of variables in java.onenonethreetwoPlease fill in the comment box below. Time is Up!