A. True
B. False
View Answer
Advanced Object Oriented Programming MCQs
Advanced Object Oriented Programming Quiz Outline
Take Your Test Now
Advanced Object Oriented Programming MCQs with Answers
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
When does method overloading is determined.
A. at run time
B. at compile time
C. at coding time
D. at execution time
View Answer