Search Header Logo

Chapter 1 Study 2

Computers

9th - 12th Grade

Used 1+ times

Chapter 1 Study 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___________ refers to the hiding of data and methods within an object. 

Passed
Instance 
Inheritance
Encapsulation 

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Java, the reserved keyword __________ means that a method is accessible and usable event though no objects of the class exist. 

active
undefined
static
void

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If a compiler detects a violation of language rules, it refuses to translate the class to ___________. 

Java
machine code
an application
a logic error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ are pieces of information that are sent into, or passed to, a method, usually because the method requires the information to perform its task or carry out its purpose. 

Applets
Arguments
Objects
Methods

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

public class First
{
    public static void main (String [] args)
     {
      System.out.println("First Java application");
}
}
Given the code above, which item identifies the method's return type?

public
println
static
void

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whenever a method requires multiple arguments, the arguments are always separated with ________. 

commas
periods
forward slashes / 
brackets

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

public class First
{
    public static void main (String [] args)
     {
      System.out.println("First Java application");
}
Given the code above, which item identifies that the method will work without instantiating an object of the class?

println
void
static
public

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?