JAVA QUIZ By HARIKARAN S - August 17, 2021 FacebookTwitterPinterestWhatsApp Welcome to your JAVA QUIZ How many Operator in java?8796 How Many Types of Expection?3257 What Output of Programpublic class OperatorExample{ public static void main(String args[]){ int x=10; System.out.println(x--);}}1110912 What is Method Overloading?same name but different in parametersdifferent name but same in parameterssame name but different in parameterssame name but same in parameters Which of the following is a valid declaration of a charchar cr = \u0223char cr = \u0223;char ch = '\utea';char ch = '\utea' What is Output of Programclass Adder{ static int add(int a, int b){return a+b;} static double add(double a, double b){return a+b;} } class TestOverloading2{ public static void main(String[] args){ System.out.println(Adder.add(22.5,22.6)); }}3345.14442 What is Throwable in java?The root class of Java exception class hierarchyA keyword used to specify a set of exceptions a method might throw during its executionThe root class of Java exception class ParameterThe node class of Java exception class hierarchy Which of these keywords is not a part of exception handling?tryCatchfinallyThrow What is concurrent collector?low-latency collectorlow-latency collectormiddle-latency collectorNone of above What is jmap?prints the heap informationprints the stack informationprints the queue informationNone of above What is gcoldcapacityStatistics of the behaviour of the new generation.Statistics of the sizes of the old generation.Statistics of the sizes of the permanent generationNone of above Which operator is used by Java run time implementations to free the memory of an object when it is no longer needed?InsertdeleteGarbage collectionObject The portion of heap where short aged objects are kept is calledFresh generationSecond generationYoung generationFourth generation Which of the following options is used to set initial heap size?XssXXsXmsXmx JVM options start withJVMJmapXXNone of above Which one of the following is not a step in serial collector?MarkSweepIdentifyCompact Time is Up!