java Programming1

java Programming1

Professional Development

28 Qs

quiz-placeholder

Similar activities

SDWAN Summit Module 1.4 Assessment - IPVPN

SDWAN Summit Module 1.4 Assessment - IPVPN

Professional Development

24 Qs

Post test BSG

Post test BSG

Professional Development

30 Qs

C16 Wheel & Tyres

C16 Wheel & Tyres

Professional Development

25 Qs

Day 14 - HITech Quiz

Day 14 - HITech Quiz

Professional Development

24 Qs

Programming Fundamentals 12th june

Programming Fundamentals 12th june

Professional Development

30 Qs

CTFL_U12345200522a

CTFL_U12345200522a

Professional Development

25 Qs

Java Practice Quiz

Java Practice Quiz

Professional Development

30 Qs

KHDA Section 4 Curriculum and curriculum adaptation

KHDA Section 4 Curriculum and curriculum adaptation

Professional Development

25 Qs

java Programming1

java Programming1

Assessment

Quiz

Professional Development

Professional Development

Medium

Created by

Assistant Chennai

Used 129+ 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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?

Discover more resources for Professional Development