
Java Class and Object Concepts
Flashcard
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

6 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a class in Java?
Back
A blueprint to create objects.
2.
FLASHCARD QUESTION
Front
What is an object in Java?
Back
An instance of a class.
3.
FLASHCARD QUESTION
Front
Which of the following is allowed when overloading a method? public int sum(int one, int two) public int sum(int three, int four), public int sum(int one, int two) public int sum(double one, int two), public int sum(int one, int two) public int sum(int two, int one), Method Overloading is not possible in Java.
Back
public int sum(int one, int two) public int sum(double one, int two)
4.
FLASHCARD QUESTION
Front
In the statement
Car myCar = new Car("red");
Which is the object?
Back
myCar
5.
FLASHCARD QUESTION
Front
How many objects can be made from a class? Options: None, you make classes from objects, one, As many as you want, All of the above
Back
As many as you want
6.
FLASHCARD QUESTION
Front
This is syntax of creating ______.
Back
object
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?