Java Classes Object and methods 1

Java Classes Object and methods -1 Quiz

0
Created on By wefru

Java Classes Object and methods 1

TEST YOUR SKILLS BRODLY

1 / 10

Choose the correct syntax for declaring a Java class below.

2 / 10

Choose the correct way of creating an object of the below class.

class Table

{

Table()

{

System.out.printLn("Table Created");

}

}

3 / 10

To prevent any method from overriding, we declare the methods as,

4 / 10

Which method of the thread class should be befined?

5 / 10

In Java, main() method returns a value of type.

6 / 10

What is the process of finding more than one method in a class differentiated by method signature?

7 / 10

Which of the following is a method having same name as that of it's class?

8 / 10

which method can be defined only once in a program?

9 / 10

A Boolean literal in Java can be type casted to which data type?

10 / 10

Generics does not work with?

Your score is

The average score is 0%

0%

Leave a Reply

Your email address will not be published.