
Java Classes
Authored by Thomas Martinez
Computers
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which one this keywords are used to create a class in java
class
struct
int
none of the avove
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This is a general structure a method.
<Returnvalue type> <Method Name> (argument / s)
<Modifier> < type> <Method Name> (parameter / s)
public static void main (String[ ] args)
<Method Name> (parameter)
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The ____ method executes first in an application, regardless of where you physically place it within its class.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
TextBook English=new Textbook();
In the above snippet, TextBook is a _______.
Object
Data member
Member function
Class
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The process of hiding the implementation details from the user is called
Abstraction
Polymorphism
Inheritance
Encapsulation
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the statement
Bank tom = new Bank(5000.0);
Which is the class?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many objects can be made from a class?
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?