Describe method.
Java

Quiz
•
Computers
•
University
•
Hard
Viswanath Kani
Used 167+ times
FREE Resource
61 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A component of a program in a big program.
A program to perform a specific task.
A component of a program written to perform a specific task.
A variable that use to read an input.
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
30 sec • 1 pt
In which line is representing the meaning of Standard library method.
Line 2
Line 8
Line 13
Line 10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The different between static and non static method is ....
for non static method : user need to create object in a class to call a method.
A method is to perform only specific task.
There is no significant differences between static and non - static method.
Both are bounded with a class.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program is consist with syntax error. Identify the reason and fix the error with the most suitable answer.
Mismatched with data type of radius and height.
FIx with :- char radius, height;
Mismatched with data type of r and h in method.
FIx with :- int r, h;
Mismatched with variable name of radius and height.
FIx with :- double r, h;
Mismatched with data type of radius and height.
FIx with :- double radius, height;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Is String a primitive data type?
Yes
No
Both
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method to use to find length of a string?
length()
size()
long()
count()
Create a free account and access millions of resources
Similar Resources on Quizizz
61 questions
Midterm Exam

Quiz
•
University
60 questions
การเขียนโปรแกรมบนมาตรฐานเปิด

Quiz
•
University
56 questions
J277/02 Computational thinking, algorithms and programming

Quiz
•
9th Grade - University
60 questions
Salesforce

Quiz
•
University
58 questions
C language

Quiz
•
University
58 questions
Asymptotic Notations Practice Questions

Quiz
•
University
66 questions
CBSE Python Series Questions

Quiz
•
12th Grade - University
65 questions
Java

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade