java

java

University

10 Qs

quiz-placeholder

Similar activities

javaquizvivek

javaquizvivek

University

12 Qs

Java Control Flow statements

Java Control Flow statements

University

10 Qs

OOPJ #1

OOPJ #1

University

10 Qs

Java quiz

Java quiz

University

8 Qs

Quiz on Java Operators

Quiz on Java Operators

University

7 Qs

CS 315 EXAM 1

CS 315 EXAM 1

University

10 Qs

eclipse

eclipse

University

10 Qs

java

java

Assessment

Quiz

Computers

University

Hard

Created by

Gunavathi Duraisamy

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An act of using essential features without including background details is called_____

Encapsulation.

Data Abstraction

Inheritance.

Polymorphism.

2.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Real-world objects contain ___ and ___.

state

behavior

attributes

methods

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

System.out.print("Two...");

    System.out.println("One...");

What is the output?

Two...

One...

One...Two...

One...Two

Two...One...

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CLASS name would be acceptable according to proper java naming conventions?

classname

ClassName

Class Name

CLASS NAME

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It has characteristics or attributes. The values of an object's attributes give the object a state.

Object

Class

Inheritance

Interface

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is the incorrect line of code?

public class Monkey{}

public static void main[String() args]{}

String monkey=" monkey has 2 legs);

System.out.println("Monkey is cute");

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A code written using any programming language that is translated into binary code is called

Source code

Bytecode

Pseudocode

Flowchart

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?