1. Which of the following access specifier is used as a default in a class definition?





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Tags
Show Similar Question And Answers
QA->There are 50 students in a class. In a class test 22 students get 25 marks each, 18 students get 30 marks each. Each of the remaining gets 16 marks. The average mark of the whole class is :....
QA->In a class of 20 students the average age is 16 years.If the age of the class teacher is added to that of students,the average age of the class becomes 17 years.What is the age of the teacher?....
QA->Data Definition language used for:....
QA->In a class of 60 students, 55% are boys. The number of girls in the class is :....
QA->Name the new web browser developed by Microsoft which replaced Internet Explorer as the default browser on Windows 10?....
MCQ->Which of the following statements are correct? Data members ofa class are by default public. Data members of a class are by default private. Member functions of a class are by default public. A private function of a class can access a public function within the same class. Member function of a class are by default private.....
MCQ->Which three statements are true? The default constructor initialises method variables. The default constructor has the same access as its class. The default constructor invokes the no-arg constructor of the superclass. If a class lacks a no-arg constructor, the compiler always creates a default constructor. The compiler creates a default constructor only when there are no other constructors for the class.....
MCQ->Which of the following access specifier is used as a default in a class definition?....
MCQ-> Study the following information carefully and answer the questions given below :P, Q, R, S, T and M are six students of a school, one each studies in Class 1-VI. Each of them has a favourite colour from red, black, blue, yellow, pink and green, not necessarily in the same order. Q likes black and does not study in Class IV or V. The one who studies in class IV does not like green. P studies in class II, M likes blue and does suidy in class IV. The one who likes ,t•Ilow studies in class VI. S likes pink itu I studies in class I. R does not study at class VI.In which class does R study ?
 ....
MCQ->Which of the following statements are correct about an ArrayList collection that implements the IEnumerable interface? The ArrayList class contains an inner class that implements the IEnumerator interface. An ArrayList Collection cannot be accessed simultaneously by different threads. The inner class of ArrayList can access ArrayList class's members. To access members of ArrayList from the inner class, it is necessary to pass ArrayList class's reference to it. Enumerator's of ArrayList Collection can manipulate the array.....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions