Anna Bajnok
Quiz by , created more than 1 year ago

True-false statements about the Java language in Hungarian.

4
0
0
Anna Bajnok
Created by Anna Bajnok almost 2 years ago
Close

Java – alapok

Question 1 of 28

1

Egy osztály több interfészt is megvalósíthat.

Select one of the following:

  • True
  • False

Explanation

Question 2 of 28

1

Az A osztálynak leszármazottja a nem absztrakt B osztály. B-nek minden olyan metódust meg kell valósítania, ami A-ban abstract.

Select one of the following:

  • True
  • False

Explanation

Question 3 of 28

1

final osztálynak kell, hogy legyen final módosítójú metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 4 of 28

1

Egy osztálynak legfeljebb egy őse lehet.

Select one of the following:

  • True
  • False

Explanation

Question 5 of 28

1

Egy osztálynak több közvetlen őse lehet.

Select one of the following:

  • True
  • False

Explanation

Question 6 of 28

1

Ha egy s String objektumon meghívjuk a toLowerCase() metódust, akkor nem módosul az s objektum tartalma

Select one of the following:

  • True
  • False

Explanation

Question 7 of 28

1

Az A osztálynak leszármazottja a nem final B osztály. B-nek lehet abstract metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 8 of 28

1

Egy osztálynak legfeljebb egy közvetlen őse lehet.

Select one of the following:

  • True
  • False

Explanation

Question 9 of 28

1

abstract osztálynak nem lehet final módosítójú metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 10 of 28

1

Konstruktornak nem lehet private láthatósága.

Select one of the following:

  • True
  • False

Explanation

Question 11 of 28

1

Konstruktornak nem lehet private láthatósága.

Select one of the following:

  • True
  • False

Explanation

Question 12 of 28

1

Az A osztálynak leszármazottja a nem final B osztály. B-nek minden olyan metódust meg kell valósítania, ami A-ban abstract.

Select one of the following:

  • True
  • False

Explanation

Question 13 of 28

1

Statikus metódusban használható a this változó.

Select one of the following:

  • True
  • False

Explanation

Question 14 of 28

1

Egy metódus nem lehet egyszerre abstract és final.

Select one of the following:

  • True
  • False

Explanation

Question 15 of 28

1

Minden osztálynak van az osztályon kívülről meghívható String toString( ) metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 16 of 28

1

Minden osztálynak van az osztályon kívülről meghívható boolean equals(Object o) metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 17 of 28

1

Statikus metódusban nem használható a this változó.

Select one of the following:

  • True
  • False

Explanation

Question 18 of 28

1

Tömb létrehozásakor minden tömbelem az alapértelmezett (paraméter nélküli) konstruktorral inicializálódik.

Select one of the following:

  • True
  • False

Explanation

Question 19 of 28

1

A String osztálynak nincs olyan metódusa, amely a meghívott String objektum tartalmát módosítja.

Select one of the following:

  • True
  • False

Explanation

Question 20 of 28

1

A String osztálynak van olyan metódusa, amely a meghívott String objektum tartalmát módosítja.

Select one of the following:

  • True
  • False

Explanation

Question 21 of 28

1

Konstruktornak nem lehet protected láthatósága.

Select one of the following:

  • True
  • False

Explanation

Question 22 of 28

1

Ha egy s String objektumon meghívjuk a toUpperCase() metódust, akkor módosul az s objektum tartalma

Select one of the following:

  • True
  • False

Explanation

Question 23 of 28

1

Egy osztály lehet akkor is absztrakt, ha nincs absztrakt metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 24 of 28

1

Egy osztály nem lehet final, ha van absztrakt metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 25 of 28

1

abstract osztálynak lehet final módosítójú metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 26 of 28

1

Egy osztály nem lehet absztrakt, ha nincs absztrakt metódusa.

Select one of the following:

  • True
  • False

Explanation

Question 27 of 28

1

Primitív típus tömbje is a primitív típusok közé számít.

Select one of the following:

  • True
  • False

Explanation

Question 28 of 28

1

Egy metódus nem lehet egyszerre protected és final.

Select one of the following:

  • True
  • False

Explanation