
FORMATIVE ASSESSMENT 2 OOPS
Authored by Kvalli Priyadharshini
Computers
Professional Development
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Analyze the following program and find the output of theprogram? public class Test { public static void main(String[] args) { System.out.println(Math.min(Double.MIN_VALUE,0.0d)); } }
2.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
import java.io.*; class files { public static void main(String args[]) { File obj = new File("/java/system"); System.out.print(obj.getName()); } }
3.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What will be the output of the following Java program if input given is “abc’def/’egh”? class Input_Output { public static void main(String args[]) throws IOException{ char c; BufferedReader obj = new BufferedReader(new InputStreamReader(System.in); do { c = (char) obj.read(); System.out.print(c); } while(c!='\''); } }
4.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is synchronization in reference to a thread?
5.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Which of these method is used to explicitly set the priority of a thread?
6.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
Which of these method waits for the thread to terminate?
7.
MULTIPLE CHOICE QUESTION
30 sec • Ungraded
What is the default value of priority variable MIN_PRIORITY AND MAX_PRIORITY?
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?