A class is a variable of variable that is declared inside a class as:
a) Final
b) Static
c) Abstract
d) Extends
e) None of The Above

1 Answer

Answer :

b) Static

Related questions

Description : State true or false for Java Program. i) Data members of an interface are by default final ii) An abstract class has implementations of all methods defined inside it. A) i-false, ii-false B) i-false, ii-true C) i-true, ii-false D) i-true, ii-true

Last Answer : C) i-true, ii-false

Description : If a variable is declared final, it must include ...................... value. A) integer B) no C) initial D) float

Last Answer : C) initial

Description : Which of the following statements is correct? (A) Every class containing abstract method must not be declared abstract. (B) Abstract class cannot be directly initiated with ‘new’ operator. (C) Abstract class cannot be initiated. (D) Abstract class contains definition of implementation.

Last Answer : Answer: B,C

Description : State True or False. i) A satic function can have access to only other static members (functions or variables) declared in the same class. ii) A static member function can be called using the class name (instead of its objects) A) True, True B) True, False C) False, True D) False, False

Last Answer : B) True, False

Description : Which of the following is used to make an Abstract class ? (A) Making atleast one member function as pure virtual function (B) Making atleast one member function as virtual function (C) Declaring as Abstract class using virtual keyword (D) Declaring as Abstract class using static keyword

Last Answer : (A) Making atleast one member function as pure virtual function

Description : Which of the following is true about the static member variable in C++. i) It is initialized to zero when the first object of its class is created. Other initialization is also permitted. ii) It is visible only within ... , ii-True B) ii-False, ii-True C) i-True, ii-False D) i-False, iii-False

Last Answer : B) ii-False, ii-True

Description : ............ implies that all subnets obtained from the same network use the subnet mask. A) Static subnetting B) Dynamic Subnetting C) Variable length subnetting D) Both B and C

Last Answer : A) Static subnetting

Description : . China beat India in the final to win the Asia Cup Hockey Championship for Women in Bangkok recently. Which Indian player was declared the player of the tournament? a. Suraj Lata Devi b. Subhadra Pradhan c. Mamta Kharab d. Madhu Yadav e. S. Omana Kumari

Last Answer : b. Subhadra Pradhan

Description : The project report of final location survey gives tabulated statement of the following (a) Curve abstract (b) Gradient abstract (c) Bridge abstract (d) Important bridges (e) Station machinery (f) Stations and stations sites (g) All the above*

Last Answer : g) All the above*

Description : 1. The United Nations declared 2010 as which International Year? 2. Which tissue take part in healing the wounds? 3. Which is the highest and final judicial tribunal in respect of the Constitution ... dry tropics? 20. By whom was Shuddhi movement (conversion of non-Hindus to Hinduism) started?

Last Answer : Answer : 1. Rapprochemont of Cultures 2. Epithelium tissue 3. Supreme Court 4. Earthquakes 5. Sher Shah 6. Magnesium bicarbonate 7. Rowing 8. 20 Percent 9. Trellis 10. Aurangzeb's wife 11. Sun ... The Peshwa 16. Kiran Baloch 17. An umpire 18. Lead 19. Constant heating 20. Swami Dayanand Saraswati

Description : In class-A amplifier conduction extends over 360° because the operating point.  1. Located near saturation point 2. Located at or near cut-off point 3. Located on load line 4. Located in the centre of load line 

Last Answer : In class-A amplifier conduction extends over 360° because the operating point.  1. Located near saturation point 2. Located at or near cut-off point 3. Located on load line 4. Located in the centre of load line 

Description : _____and extensions are software that extends or modifies the functionality of another piece of software and require that software be used in order to function: a) Plugs Stan b) Plug outs c) Plugins d) None of These

Last Answer : c) Plugins

Description : Using which keyword we can access value of the instance variables and class variables of that class inside the method of that class itself. A) super B) final C) this D) either super or this

Last Answer : C) this

Description : Marketing channel that involves no intermediaries to make their products available to final buyers is classified as A. direct channel B. indirect channel C. flexible channel D. static channel

Last Answer : A. direct channel

Description : There are three processes P1, P2 and P3 sharing a semaphore for synchronising a variable. Initial value of semaphore is one. Assume that negative value of semaphore tells us how many processes are waiting in queue. Processes access ... The final value of semaphore will be: (1) 0 (2) 1 (3) -1 (4) -2 

Last Answer : Answer: 1

Description : ………………….. implies that all subnets obtained from the same subnet mask. A) Static subnetting B) Dynamic subnetting C) Variable length subnetting D) Both B and C

Last Answer : A) Static subnetting

Description : ........ implies that all subnets obtained from the same network use the subnet mask. A) Static subnetting B) Dynamic Subnetting C) Variable length subnetting D) Both B and C

Last Answer : A) Static subnetting

Description : .......................models consider time as one of the important variable. a. Dynamic b. Static c. Botha and b d. None of these

Last Answer : a. Dynamic

Description : With regard to a word processing software, the process of combining static information in a publication together with variable information in a data source to create one merged publication is calle d( A) Electronic mail (B) Data sourcing (C) Mail merge (D) Spam mail

Last Answer : (C) Mail merge 

Description : Name the keywords which: (i) indicates that a method has no return type (ii) makes the variable as a class variable

Last Answer : Ans. (i)void (ii) static (static variables are also known as Class variables.)

Description : What will be the final value of variable x after the following code is executed: -Technology

Last Answer : The value is:1

Description : The mechanism which changes the value of manipulated variable in response to the output signal from the control unit is called the (A) Final control element (B) On-off control (C) Floating control action (D) None of these

Last Answer : Option A

Description : What is a final variable ?

Last Answer : Final variable is a constant variable. Variable value can't be changed after instantiation.

Description : What is a Final Variable ?

Last Answer : Ans. Final variable is a variable constant that cannot be changed after initialization.

Description : Describe final variable and final method

Last Answer : Final method: making a method final ensures that the functionality defined in this method will never be altered in any way, ie a final method cannot be overridden. Syntax: final void findAverage() ... on individual objects of the class. Example of declaring final variable: final int size = 100;

Description : Which of the following was declared as “Best Company Promoting Sports (Private sector)” in the country at the National Sports Awards 2015? A) Kotak Mahindra Bank B) Yes Bank C) Axis Bank D) HDFC Bank E) None of these

Last Answer : B) Yes Bank Explanation: Lalita Babar was named Sportsperson of the Year in India Sports Awards.

Description : Which of the following is/ are the characteristics of friend function. A) It is not in the scope of the class to which it has been declared as friend. B) It can invoke like a normal function without the help of any object. C) Usually, it has the objects as arguments. D) All of the above.

Last Answer : D) All of the above.

Description : What is constructor? How user can declared constructor in derived class? Explain with example.

Last Answer : Constructor:- Constructor is a special member function which has same name as a class name and is used to initialize object during compile time of program. Declaring constructor in derived class If a base class contains a ... derived d(2,5); d.displaybase(); d.display(); getch(); }

Description : If a function is friend of a class, which one of the following is wrong ? (A) A function can only be declared a friend by a class itself. (B) Friend functions are not members of a class, they are ... are members of a class. (D) It can have access to all members of the class, even private ones.

Last Answer : (C) Friend functions are members of a class.

Description : Describe an abstract class and explain when one might be useful.

Last Answer : An abstract class is a class that cannot be instantiated but must be inherited. It can contain both implemented methods and abstract methods, which must be implemented in an inheriting class. ... common interface for other methods, and leave more detailed implementation up to the inheriting class.

Description : What’s the difference between an interface and abstract class?

Last Answer : Answer: An abstract class and Interface both have method only but not have body of method.The difference between Abstract class and An Interface is that if u call Ablstract class then u have to call ... type, Parameter type, Parameter Number all must be same . Only body of method can change. 

Description : When do you absolutely have to declare a class as abstract?

Last Answer : 1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden. 2. When at least one of the methods in the class is abstract.

Description : What’s an abstract class?

Last Answer : Answer:Classes that cannot be instantiated. We cannot create an object from such a class for use in our program. We can use an abstract class as a base class, creating new classes that will inherit from ... can inherit from a non-abstract class. In C++, this concept is known as pure virtual method.

Description : Write some code using interfaces, virtual methods, and an abstract class.

Last Answer : using System; public interface Iexample1 { int MyMethod1(); } public interface Iexample2 { int MyMethod2(); } public abstract class ABSExample : Iexample1, Iexample2 { public ABSExample( ... override void VIRTMethod2() { System.Console.WriteLine("VIRTMethod2 has been overridden"); } }

Description : When do you absolutely have to declare a class as abstract?

Last Answer : 1. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden. 2. When at least one of the methods in the class is abstract.

Description : What’s an abstract class?

Last Answer : A class that cannot be instantiated. An abstract class is a class that must be inherited and have the methods overridden. An abstract class is essentially a blueprint for a class without any implementation.

Description : When do you absolutely have to declare a class as abstract (as opposed to free-willed educated choice or decision based on UML diagram)?

Last Answer : When at least one of the methods in the class is abstract. When the class itself is inherited from an abstract class, but not all base abstract methods have been overridden.

Description : What’s an abstract class? 

Last Answer : A class that cannot be instantiated. A concept in C++ known as pure virtual method. A class that must be inherited and have the methods over-ridden. Essentially, it’s a blueprint for a class without any implementation.

Description : Define what are the features of abstract class?

Last Answer : 1. An abstract class cannot be instantiated, and it is an error to use the new operator on an abstract class. 2. An abstract class is permitted (but not required) to contain abstract methods and accessors. 3. An abstract class cannot be scaled.

Description : Difference between Abstract and Concrete Class ?

Last Answer : Ans. Abstract classes are only meant to be sub classed and not meant to be instantiated whereas concrete classes are meant to be instantiated.

Description : What is an abstract class?

Last Answer : A: An abstract class is a class that is declared abstract—it may or may not include abstract methods. Abstract classes cannot be instantiated, but they can be subclassed.

Description : Data input is A) an abstract class defined in java.io B) a class we can use to read primitive data types C) an interface that defines methods to open files. D) an interface that defines methods to read primitive data types.

Last Answer : D) an interface that defines methods to read primitive data types.

Description : Data input is A) an abstract class defined in java.io B) a class we can use to read primitive data types C) an interface that defines methods to open files. D) an interface that defines methods to read primitive data types.

Last Answer : D) an interface that defines methods to read primitive data types.

Description : A ………………. Is a class whose instances themselves are classes. A) Subclass B) Abstract Class C) Meta Class D) Object Class

Last Answer : C) Meta Class

Description : Which of the following statements is true (A) Abstract data types are the same as classes (B) Abstract data types do not allow inheritance (C) Classes cannot inherit from the same base class (D) Object have state and behavior

Last Answer : (B) Abstract data types do not allow inheritance

Description : What is abstract class? Give one example of abstract class.

Last Answer : An abstract class is a class that is designed only to act as base class. It is not used to create objects. An abstract class is used to define an implementation and is intended to be inherited by child classes. Example: ... >a; } void display() { coutb; } void display1()  { display(); cout

Description : Define abstract class.

Last Answer : An abstract class is a class that is designed only to act as base class. It is not used to create objects.

Description : Which of the following is/are correct with reference to Abstract class and interface ? (a) A class can inherit only one Abstract class but may inherit several interfaces. (b) An Abstract class can provide complete and default ... true (C) Both (a) and (b) are true (D) Neither (a) nor (b) is true

Last Answer : Answer: C

Description : Which of the following statement(s) with regard to an abstract class in JAVA is/are TRUE? I. An abstract class is one that is not used to create objects. II. An abstract class is designed only to act as a base class ... by other classes. (1) Only l (2) Only II (3) Neither I nor II (4) Both l and II

Last Answer : Both l and II