Advanced Object Oriented Programming MCQs deal with Which Of These Keywords Is Used To Make A Class, …….. Is Used To Find And Fix Bugs In The Java Programs, What Is It Called If An Object Has Its Own Lifecycle And There Is No Owner, Which Of The Following Is Not An Enterprise Beans Type, Which Of These Selection Statements Test Only For Equality, Java Beans Are Extremely Secured, Which Of The Below Is Invalid Identifier With The Main Method, Which Of The Following Leads To High Network Traffic, What Is The Extension Of Java Code Files, What Is The Extension Of Compiled Java Classes, When Does Method Overloading Is Determined, Which Of The Following Is Not Oops Concept In Java, Which Of The Following Is A Method Having Same Name As That Of It’s Class, What Is The Return Type Of Constructors, The Node Class Of The Package……Represents A Node In Javafx, Garbage Collection Can Be Controlled By A Program:
Advanced Object Oriented Programming MCQs
Garbage collection can be controlled by a program.
A. True
B. False
View Answer
Gridpane created, how we can set padding.
A. Gridpane.setpadding(insets(10, 10, 10, 10));
B. Gridpane.padding(new insets(10, 10, 10, 10));
C. Gridpane.padding(10, 10, 10, 10);
D. None
View Answer
The node class of the package _______ represents a node in javafx.
A. Javafx.scene
B. Javafx.stage
C. Javafx.node
D. None
View Answer
What would be behaviour if the constructor has a return type.
A. Compilation error
B. Runtime error
C. Compilation and runs successfully
D. Only string return type is allowed
View Answer
Which function is used to perform some action when the object is to be destroyed.
A. Finalize()
B. Delete()
C. Main()
D. None of the mentioned
View Answer
What is the return type of constructors.
A. Int
B. Float
C. Void
D. None of the mentioned
View Answer
Which of the following is a method having same name as that of it’s class.
A. Finalize
B. Delete
C. Class
D. Constructor
View Answer
Which of the following is not a jdbc connection isolation levels.
A. Transaction_none
B. Transaction_read_committed
C. Transaction_repeatable_read
D. Transaction_nonrepeatable_read
View Answer
Which of the following is not oops concept in java.
A. inheritance
B. encapsulation
C. polymorphism
D. compilation
View Answer