MCQ on Java Programming Language [Solved PDF] – 12
Fill in your details below or click an icon to log in: You are commenting using your Facebook vownload. Next post Computer Network Basics. Method show is not implemented in Display D Wrong. Display qnswers not contain any numbers. Consider the following class definition.
You are commenting using your Twitter account. Email Address never made public. Arrays of arrays 15 D. Arrays of variable C. All i, ii, iii and iv 19 Which of the following methods belong to the String class?
Which one of the following keywords would archive this? D Line i, ii and iii only 8. Notify me of new comments via email.
MCQ on Java Programming [Solved PDF] – 11
Notify me of new comments via email. D Will not compile because string is final. Wait 14 Multidimensional arrays are actually …… A.
Leave a Witb Cancel reply Enter your comment here What is wrong in the following class definitions? The use of protected keyword to a member in a class will restrict its visibility as follows: Which of the following statements are true? Code 12 Which of the following is not keyword?
Consider the following code: You are commenting using your Facebook account. None of the above 2 Which of the following represent s of a hexadecimal number? Sorry, your xownload cannot share posts by email.
B Output will be A followed by B 4. All of the above 20 Which of the following in NOT represent legal flow control statements? C Method compute in class Room should be declared public. Group literals 17 Which of the labguage methods can be used to remove a component from the display? Variables 8 State True or False for the following statements in java. Arrays of arrays D.
We would like to make a member of a class visible in all subclasses regardless of what package they are in. Method show should have a return type C Wrong. A Visible only in the class and its subclass in the same package. What is the error in the following class definitions? Operators 7 Using the keyboard interface you can fully abstract a … A.
C Visible in all classes in the same package and subclasses in other packages A Will not compile because class body is not defined B Will not compile because the class in not declared public. B Visible only inside the same package. Sorry, your blog cannot share posts by email. Arrays of variable 15 Which of the following keywords are used to control access to a class member?
Both i and ii D. Post was not sent – check your email addresses! Fill in your details below or click an icon to log in: Email Address never made public.
String group literals D. You are commenting using your Twitter account. You are commenting using your WordPress. Leave a Reply Cancel reply Enter your comment here You are commenting using your WordPress. D Private Protected 9. A Number is negative 3. C Will not compile because string is abstract. String literals 17 D.