Cs Subjects Onlie QuizCs 506 Midterm Important Repeated Mcqs Quiz Zain Akhtar6 months ago6 months ago01 mins Cs 506 Midterm Important Repeated Mcqs Quiz Cs 506 quiz helps us to increase our knowledge 1 / 10 If a method is declared in protected where it can be accessible? It can be accessible to only to the class to which they belong, and any subclasses Prepared 2 / 10 Which method of ResultSetMetaData objective is used to return the suggested value to column label forprintout? CallableStatement The getColumnLabel() method returns the suggested column label for printouts 3 / 10 Diff b/w array n arraylist? rep Byte 4 / 10 Write the syntax to load the oracle driver Class.forName(“oracle.jdbc.driver.OracleDriver”); Filter stream and Character oriented 5 / 10 Differentiate between array and ArrayList . It’s like a resizable array. ArrayList actually comes as a replacement the old “Vector” collection. As we add or remove elements into or from it, it grows or shrinks over time. Node stream and Filter stream 6 / 10 Why we use serialization, Used to send an object to a stream Byte oriented stream and Character oriented stream 7 / 10 The collection API are defined in ______ package? Java.io Java.util Java.sql Java.awt 8 / 10 Which of the following function will be used to register eventhandler withevents generator (button)? addAction() addListener() addActionListener() Register eventhandeler() 9 / 10 Which of the following feature provide facility for multipleinheritance: Adapter Classes Wrapper Classes Interface Collection 10 / 10 The relationship between class and interface is called ‘Is a’ relationship ‘Has a’ relationship ‘Responds to’ relationship None of the given options Your score isThe average score is 0% 0% Restart quiz Post navigation Previous: Cs 504 Midterm Important Repeated Mcqs QuizNext: Cs 507 Midterm Important Repeated Mcqs Quiz