______provides a powerful and natural mechanism for organizing and structuring
your
software. It also explains how classes inherit state and behavior from their super classes and
explains how to derive one class from another using the simple syntax provided by the java
programming language:
a) Object
b) Inheritance
c) Class
d) None of These

1 Answer

Answer :

b) Inheritance

Related questions

Description : A ____ is a namespace for organizing classes and interfaces in a logical manner. Placing your code into ______makes large software projects easier to manage. This section explains why this is useful and ... provided by the Java Platform: a) Inheritance b) Object c) Package d) None of These

Last Answer : c) Package

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 : Which of the following comments about object oriented design of software, is not true ? Objects inherit the properties of class Classes are defined based on the attributes of objects an object can belong to two classes classes are always different

Last Answer : an object can belong to two classes

Description : Which among the following definitions are correct: a) Object - Any entity that has state and behavior is known as an object. b) Class - Collection of objects is called class. It is logical entity. c) ... re-usability and is used to achieve run time polymorphism. d) All of the above e) None of These

Last Answer : d) All of the above

Description : The concept of multiple inheritance is implemented in Java by A) extending two or more classes B) extending one class and implementing one or more interfaces C) implementing two or more interfaces D) both B and C

Last Answer : D) both B and C

Description : The concept of multiple inheritance is implemented in Java by A) extending two or more classes B) extending one class and implementing one or more interfaces C) implementing two or more interfaces D) both B and C

Last Answer : D) both B and C

Description : What is the syntax to inherit from a class in C#? 

Last Answer : Place a colon and then the name of the base class. Example: class MyNewClass : MyBaseClass

Description : What is the syntax to inherit from a class in C#? 

Last Answer : Place a colon and then the name of the base class. Example: class MyNewClass : MyBaseClass

Description : Define what is the syntax to inherit from a class in C#?

Last Answer : When a class is derived from another class, then the members of the base class become the members of the derived class. The access modifier used while accessing members of the base class specifies ... syntax to inherit a class from another class In C# is as follows: class MyNewClass : MyBaseClass

Description : A _____ contains specific rules and words that express the logical steps of an algorithm. 1) Syntax 2) Programming structure 3) Programming language 4) Logic chart 5) None of these

Last Answer : Answer :3

Description : When an algorithm is written in the form of a programming language, it becomes a _________ a) Flowchart b) Program c) Pseudo code d) Syntax

Last Answer : Answer: b Explanation: An algorithm becomes a program when it is written in the form of a programming language. Thus, any program is an algorithm

Description : A ______ contains specific rules and words t hat express the logical steps of an algorithm a) Programming language b) Syntax error c) Programming structure d) Logic chart e) None of these

Last Answer : a) Programming language

Description : A ...... contains specific rules and words that express the logical steps of an algorithm. 1) Programming Language 2) Programming Structure 3) Syntax 4) Logic chart

Last Answer : 3) Syntax

Description : ..... is a set of Keywords, s symbols, and a system of rules for constructing statements by which humans can communicate the instructions to be executed by a computer... 1) A Computer Program 2) A Programming Language 3) An Assembler 4) Syntax

Last Answer : 2) A Programming Language

Description : The pure object oriented programming language with extensive metadata available and modifiable at run time is (A) Small talk (B) C++ (C) Java (D) Eiffel

Last Answer : (A) Small talk

Description : State true or false. i) init() is called after start() in applet ii) applets are used for networking iii) inheritance is a part of Java Foundation Classes iv) final does not prevent inheritance A) i-true, ii- ... C) i-true, ii-true, iii-true, iv-true D) i-true, ii-false, iii-false, iv-false

Last Answer : B) i-false, ii-false, iii-false, iv-false

Description : A chlorine atom reacts with a sodium atom to form sodium chloride, NaCl. A chlorine atom can also react with another chlorine atom to form a chlorine molecule, Cl2. Which statement BEST explains the behavior of chlorine in these two reactions?

Last Answer : A chlorine atom can form ionic bonds by accepting an electron and covalent bonds by sharing electrons.

Description : All java classes are derived from A) java.lang.Class B) java.util.Name C) java.lang.Object D) java.awt.Window

Last Answer : D) java.awt.Window

Description : What was Hadoop written in? a) Java (software platform) b) Perl c) Java (programming language) d) Lua (programming language)

Last Answer : Java (programming language)

Description : A software company needs to develop a project that is estimated as 1000 function points and is planning to use JAVA as the programming language whose approximate lines of code per function point is accepted as 50. Considering a=1. ... ? (1) 11.2 months (2) 12.2 months (3) 13.2 months (4) 10.2 months

Last Answer : Generally, any projects are measured in weeks. However, the complex project might take more time depending on the level of object re-use available.

Description : Virtual constructor: Constructors cannot be virtual. Declaring a constructor as a virtual function is a syntax error. Does c++ support multilevel and multiple inheritance?

Last Answer : Yes.

Description : Which one of the following is correct? (A) Java applets cannot be written in any programming language (B) An applet is not a small program. (C) An applet can be run on its own. (D) Applets are embedded in another applications. 

Last Answer : (D) Applets are embedded in another applications.

Description : Java Programming Language was originally developed by Sun Micro-systems which was initiated by _______: a) James Gosling b) Charles Babbage c) Steford Pascal d) None of These

Last Answer : a) James Gosling

Description : Which of the following is not a programming language: a) Java b) Basic c) Knuth d) None of These

Last Answer : c) Knuth

Description : Java Programming language was invented by: a) Christopher Kelein b) Charles Babbage c) James Gosling d) Grace Hopper e) None of These

Last Answer : c) James Gosling

Description : Which of the following is a popular Programming Language for developing multimedia Web pages, Websites and web-Based applications? 1) COBOL 2) JAVA 3) ASSEMBLER 4) Nine of these

Last Answer : 2) JAVA

Description : hich is not the commonly used programming language for AI? ⮚ PROLOG ⮚ LISP ⮚ Perl ⮚ Java script

Last Answer : ⮚ Perl

Description : A computer programming language often used by children is (1) LOGO (2) PILOT (3) BASIC (4) JAVA

Last Answer : LOGO

Description : The symbols used in describing the syntax of a programming language are __________ a) 0 b) {} c) “” d)

Last Answer : d)

Description : If the meek inherit the earth than whos inheritance is heaven?

Last Answer : The Jehovas witnesses.

Description : Which of the following best explains the existence of organized gangs of delinquent teenagers with which students often affiliate themselves? Options: A) Inactive and lax law enforcement B) ... activities from which students can derive wholesome satisfaction D) Student's desire for adventure

Last Answer : C) Lack of constructive activities from which students can derive wholesome satisfaction

Description : B) Scheme for Sustainable Structuring of Stressed Assets Explanation: Under a new ‗Scheme for Sustainable Structuring of Stressed Assets (S4A), RBI allowed banks to take equity in debt ... loans of struggling companies into sustainable and unsustainable based on the cash flows of the projects.

Last Answer : Which bank has launched India‟s first certified green bond at London Stock Exchange (LSE)? A) State Bank of India B) Bank of Baroda C) ICICI Bank D) Axis Bank E) None of these

Description : Write a C++ program to declare a class COLLEGE with members as college code. Derive a new class as STUDENT with members as studid. Accept and display details of student along with college for one object of student.

Last Answer : #include<iostream.h> #include<conio.h> class COLLEGE { protected: int collegecode; }; class STUDENT:public COLLEGE { int studid; public: void accept() { cout<<"Enter college ... STUDENT s; clrscr(); s.accept(); s.display(); getch(); }

Description : Which one of the following set of attributes should not be encompassed by effective software metrics ? (A) Simple and computable (B) Consistent and objective (C) Consistent in the use of units and dimensions (D) Programming language dependent

Last Answer : (D) Programming language dependent

Description : The major goal of inheritance in C++ is A) To facilitate the conversion of data types B) To help modular programming C) To facilitate the reusability of code D) To extend the capabilities of a class

Last Answer : D) To extend the capabilities of a class

Description : Maraging steels derive their strength from the following mechanism: (A) A fine, highly dislocated and strong martensite (B) Fine dispersions of inter-metallic of Fe, Ni, Ti etc (C) Fine ... alloy carbides in a ferrite matrix (D) Fine dispersions of Fe3 C nucleated on dislocations in austenite

Last Answer : Option A

Description : In May 1997 an IBM super computer called ______defeated world chess champion Gary Kasparov in a chess match: a) Syntax Blue b) Deep Blue c) Blue Stan d) None of These

Last Answer : b) Deep Blue

Description : Which organization first developed the Java programming language ?

Last Answer : Sun Microsystems first developed the Java programming language.

Description : Which is not the commonly used programming language for AI? a) PROLOG b) Java c) LISP d) Perl

Last Answer : d) Perl

Description : What second programming language did Google add for App Engine development? A. C++ B. Flash C. Java D. Visual Basic

Last Answer : Java

Description : Java has its origin in A) C programming language B) PERRL C) COBOL D) Oak programming language

Last Answer : D) Oak programming language

Description : Which is not the commonly used programming language for AI? A. PROLOG B. LISP C. Perl D. Java script

Last Answer : C. Perl 

Description : Which of the following is not a programming language? (A) Pascal (B) Microsoft Office (C) Java (D) C++

Last Answer : (B) Microsoft Office

Description : _________is popular object oriented programming language used for general purpose: a) C b) C++ c) FORTRAN d) None of These

Last Answer : b) C++

Description : Classic OOP - Object Oriented programming can be traced back to a language called Simula, and in particular Simula 67, which was popular during the _____: a) 1930s b) 1960s c) 1950s d) None of These

Last Answer : b) 1960s

Description : An _____ is a contract between a class and the outside world. When a class implements an interface, it promises to provide the behavior published by that ______: a) Object b) Interface c) Package d) None of These

Last Answer : b) Interface

Description : Ruby, a class XI student has just started learning java programming. Help her in the following: (i) Explain her the concept of variable -Technology

Last Answer : (i)Variables are named storage location to store values temporarily which can be changed during program execution.Data type states the way the values of that type are stored, the operations that can be done ... setText( Just Pass );In the above if statement, value of marks is being compared with 40.

Description : Ruby, a class XI student has just started learning java programming. Help her in the following: -Technology

Last Answer : i. Variables are named storage location to store values temporarily which can be changed during program execution.Data type states the way the values of that type are stored, the operations that can be done ... setText( Just Pass );In the above if statement, value of marks is being compared with 40.

Description : What is a URL? a) A computer software program b) A type of programming object c) The address of a document or page on the World Wide Web d) An acronym for Unlimited resources for Learning e) None of these

Last Answer : c) The address of a document or page on the World Wide Web