
Java
Authored by Viswanath Kani
Computers
University
Used 167+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
61 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Describe method.
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()
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?
Similar Resources on Wayground
57 questions
Cloud Computing
Quiz
•
University
60 questions
UTS Teori Bahasa dan Otomata
Quiz
•
University
60 questions
Review Python basic
Quiz
•
University
56 questions
PH INFOR KELAS X
Quiz
•
2nd Grade - University
60 questions
U23CS381 - ADD QUIZ Assessment
Quiz
•
University
61 questions
Module 14
Quiz
•
University
60 questions
สอบปลายภาค การออกแบบและพัฒนาเว็บไซต์
Quiz
•
University
61 questions
Advanced programing w\ Python (Ep1)
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade