a) s.__len__()
b) len(s)
c) size(s)
d) s.size()
Answer:
a) s.__len__()
Explanation:
We usually use len(s) to print the length of the string. It works by calling an __len__ method behind the scene, thus a is the right choice!
a) s.__len__()
b) len(s)
c) size(s)
d) s.size()
a) s.__len__()
We usually use len(s) to print the length of the string. It works by calling an __len__ method behind the scene, thus a is the right choice!
a) lib b) package c) getlib d) import Answer d) import
a. ResultSet b. DriverManager c. Statement d. Connection Answer: b. DriverManager Explanation: DriverManager is a class that acts as an interface between users and Drivers. It
a) True b) False Answer b) False Explanation: A subtype is something that is substituted for and behaves as its parent type. All subclass may
i) It is used as its fundamental building block ii) Similar objects are classified using a concept of class iii) Polymorphism and abstraction are not
Oracle Certified Tutor/Trainer with 100+ reviews