Font size
Worksheetsoops using java quiz
Total questions: 15
Worksheet time: 11mins
Identify the person
Dennis Ritchie
James Gosling
Charles Babbage
Alan Turin
Draw the class diagram of Student class with id, name, marks attributes

(a) binds data and functions together
Java was originally named:
Coffee
Oak
New C++
Duke
What is the name of the Java mascot?
Duke
Ronny
Penguin
James
Jack
Which company owns Java?
Oracle
Microsoft
Apple
Intel
which one of the following is a legal decelration of a two- dimensional array of integers
int[] a[] = new int[5][];
int[5][5] a = new int[][];
int a = new int[5,5];
int[][] a = new int[][5];
which one of the following is true?
runnable interface declares the start method
Thread.start() method is used to move a thread from a new state to the runnable state
Thread.runnable() method is used to move a thread from new state to the runnable state
Thread.run() method is used to move a thread from new state to the runnable state
which of the following is wrapper class in java
Float
Integer
Double
all of above
Which method is used to make main thread to wait for all child threads
Join ()
Sleep ()
Wait ()
Stop ()
In JAVA multi threading, a thread can be created by_______
Extending class
Implementing Runnable Interface
both
none
Which of this command has errors? Select multiple
System.out.print("Hello World")
System.out.print(Hello World);
System.out.Print("Hello World);
System.out.print("Hello World");
Which of the followings is Java code that starts from the main() method as a mandatory part of every program
public void static main(String args [])
public void main static (args[] String)
public static void main (String args[])
public static void main [String [] Args]
Which of this command has errors? Select multiple
System.out.print("Hello World")
System.out.print(Hello World);
System.out.Print("Hello World);
System.out.print("Hello World");
ar, given the following declaration:int[] ar = {2, 4, 6, 8 }0, 1, 2, 31, 2, 3, 40, 2, 4, 6