Search Header Logo

Java

Authored by Rahul Murali

Computers

Professional Development

Used 193+ times

Java
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Java

programming is a ----------------

Structure

oriented programming

Object

oriented programming

a &

b

none of

the above0

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In object-oriented programming, the process

by which one object acquires the properties of another obje

Encapsulation

Polymorphism

Inheritance

Dynamic

binding

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is

object?

Data & Methods

Data & object

Data & class

none of

the above

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Object may be communicate --------------

Through object

Through class

Through methods

Through

data

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Java program Implements ---------------

design approach

Top-up approach

bottom-up approach

a & b

none of

the above

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Consider

the following Java program :

public class Compute {

public static void main (string args [ ])

{

int result, x ;

x = 1 ;

result = 0;

while (x < = 10) {

if (x%2 == 0) result + = x ;

+ + x ;

}

System.out.println(result) ;

}

}

Which of the following will be the output of the above program?

55

30

25

35

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Data

Abstraction and Encapsulation is for --------------------

Data & objects

Data & Methods

Data Class

Data

& concepts

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?