Search Header Logo

SDA Podstawy 3

Authored by Mateusz Kwiecień

Computers

Professional Development

Used 1+ times

SDA Podstawy 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Typem prostym (prymitywnym) dla klasy String jest:

String[]

string

Klasa String nie ma odpowiednika wśród typów prostych

char

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Poprawnym sposobem stworzenia nowego obiektu typu String jest:

String = "text";

String s = new String("text");

String s = String("text");

String s = new "text";

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aby porównać treść dwóch obiektów klasy String używamy:

metody equals()

znaku '='

nie da się tego zrobić

znaku '=='

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stringi tworzone poprzez literał (np. String s = "text") zapisywane są w specjalnym obszarze pamięci zwanym:

String Memory

String Pool

String Buffer

String Space

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Aby dopasowywać wyrażenia regularne w języku Java używamy klas:

String i Matcher

Java nie oferuje takiej funkcjonalności

Pattern i Double

Matcher i Pattern

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Poprawną deklaracją tablicy w języku Java NIE jest:

String[] s = new String[3];

String[] s = new String[];

String[] s = new String[]{"Lorem"};

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?