JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
MySQL interview questions part 16
MySQL interview questions part 16
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 20
1. Private member functions can be overloaded.
A. DATE
B. TIME
C. TIMESTAMP
D. YEAR
Show Correct Answer
Correct Answer is :
TIMESTAMP
2. Which data member in following code will be used whenever an object is created? Class A { int x; int y; int z; public : A() { y=100; x=100*y; } };
A. NO_ZERO_IN_DATE
B. NO_DATE_WITH_ZERO
C. ZERO_IN_DATE
D. DATE_WITH_ZERO
Show Correct Answer
Correct Answer is :
NO_ZERO_IN_DATE
3. Which member can be considered most secure in the code below? class A() { int a; private : int b; protected : int c; public : int d; };
A. PAD_CHAR_TO_FULL_LENGTH
B. TO_FULL_LENGTH_CHAR_PAD
C. CHAR_PAD_TO_FULL_LENGTH
D. PAD_CHAR_TO_LENGTH
Show Correct Answer
Correct Answer is :
PAD_CHAR_TO_FULL_LENGTH
4. Which among the following is correct for the code given below? class A { private : A() { } public : A(int x) { } }; A a; A b(100);
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
5. Which is private member functions access scope?
A. functions
B. procedures
C. methods
D. programs
Show Correct Answer
Correct Answer is :
methods
6. Which member can never be accessed by inherited classes?
A. $dbh
B. $sth
C. $fh
D. $h
Show Correct Answer
Correct Answer is :
$fh
7. Which syntax among the following shows that a member is private in a class?
A. $dbh
B. $sth
C. $fh
D. $h
Show Correct Answer
Correct Answer is :
$dbh
8. If private member functions are to be declared in C++ then _____________
A. 0
B. 1
C. 2
D. more than 1
Show Correct Answer
Correct Answer is :
more than 1
9. In java, which rule must be followed?
A. CSET
B. CHSET
C. CHARSET
D. CHCSET
Show Correct Answer
Correct Answer is :
CHARSET
10. How many private member functions are allowed in a class ?
A. USE
B. CREATE
C. DROP
D. SCHEMA
Show Correct Answer
Correct Answer is :
USE
11. How to access a private member function of a class?
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
TRUE
12. Private member functions ____________
A. –enabled-local-file
B. –enable-local-infile
C. –enable-global-file
D. –enable-local-file
Show Correct Answer
Correct Answer is :
–enable-local-infile
13. Which function among the following can’t be accessed outside the class in java in same package?
A. key cache
B. memory cache
C. time cache
D. speed cache
Show Correct Answer
Correct Answer is :
key cache
14. If private members are to be called outside the class, which is a good alternative?
A. 0
B. 1
C. 2
D. 3
Show Correct Answer
Correct Answer is :
2
15. A private function of a derived class can be accessed by the parent class.
A. TRUE
B. FALSE
C.
D.
Show Correct Answer
Correct Answer is :
FALSE
16. Which error will be produced if private members are accessed?
A. column name
B. table name
C. row name
D. database name
Show Correct Answer
Correct Answer is :
column name
17. Can main() function be made private?
A. column name
B. table name
C. server name
D. database name
Show Correct Answer
Correct Answer is :
table name
18. If a function in java is declared private then it __________________
A. NO_ESCAPES_SLASH
B. NO_ESCAPES_BACKSLASH
C. NO_BACKSLASH_ESCAPES
D. NO_BACKSLASH_ESCAPE
Show Correct Answer
Correct Answer is :
NO_BACKSLASH_ESCAPES
19. Which among the following best describes the protected specifier?
A. 65534
B. 66535
C. 65536
D. 65537
Show Correct Answer
Correct Answer is :
65536
20. If a constructor is defined in protected access, then.
A. abcd and 1633837924
B. abcd and 4297383361
C. dcba and 1633837924
D. dcba and 4297383361
Show Correct Answer
Correct Answer is :
abcd and 1633837924
Similar Interview Questions
Search for latest jobs
Find Jobs