Chapter 1 Study 2

Chapter 1 Study 2

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Java Thread

Java Thread

12th Grade

10 Qs

CSAwesome: 1.2 - Java Basics HW Review

CSAwesome: 1.2 - Java Basics HW Review

11th - 12th Grade

13 Qs

Java

Java

11th Grade

10 Qs

quis lat soal

quis lat soal

9th - 12th Grade

9 Qs

Skill Building Workshop Quiz

Skill Building Workshop Quiz

9th - 12th Grade

10 Qs

OOP - Java Classes

OOP - Java Classes

12th Grade - University

15 Qs

JAVA: Level-1

JAVA: Level-1

5th - 12th Grade

15 Qs

JAVA Quiz (week 1)

JAVA Quiz (week 1)

10th Grade

10 Qs

Chapter 1 Study 2

Chapter 1 Study 2

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Used 1+ times

FREE Resource

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

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?