java Programming1

Quiz
•
Professional Development
•
Professional Development
•
Medium
Assistant Chennai
Used 120+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Java was developed by
James gosling
John gosling
James frank
John frank
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct main() method signature in Java?
public static void main (String [] args)
public static void Main (String [] args)
public static void main (string [] args)
public static void main (String args)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable declaration in Java?
int 1myInteger = 0;
int int = 0;
Int my Integer = 0;
int myInteger = 0;
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of this command does not have errors?
System.out.print("Hello World")
System.out.print(Hello World);
System.out.Print("Hello World);
System.out.print("Hello World");
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output of below program?
public class Test {
public static void main(String[] args) {
int x = 10*20-20;
System.out.println(x);
}
}
Runtime Error
Prints 180
Prints 0
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the following statement:
System.out.print("1"+"1");
11
2
Error Message
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indicate the actual output of the statements below:
int thisYear = 2020;
System.out.println("The current year is "+thisYear);
The current year is thisYear
The current year is 2020
No output; an error exists
The current year is
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
AIML TECH TRIATHLON

Quiz
•
Professional Development
27 questions
36.Stub Void Methods Explicitly

Quiz
•
Professional Development
23 questions
JDBC

Quiz
•
Professional Development
25 questions
PSUEDOCODE 2 CAPGEMINI

Quiz
•
Professional Development
25 questions
Java Foundation 5

Quiz
•
Professional Development
30 questions
Programming Boot Camp-Quiz I

Quiz
•
Professional Development
25 questions
Density on the Conventional Radiograph

Quiz
•
University - Professi...
32 questions
C# Skill Review

Quiz
•
12th Grade - Professi...
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade