Exercise 1 – Objects and Classes

Requirements

Potrebno je kreirati klasu AnimalType koje ima sljedeće atribute:

  • name (String)

Atributima je potrebno postaviti privatno pravo pristupa (private) te definirati get i set metode koje će dohvaćati odnosno postavljati vrijednost atributima.

Kreirati konstruktor koji će Read more

Read More
String

String Zadaci za Vježbu

U nastavku možeš pronaći jednostavne zadatke koji će ti pomoći prilikom savladavanja gradiva vezanog uz String klasu u Javi.

Zadatak 1

Potrebno je napisati Java program koji će učitavati brojčane vrijednosti od strane korisnika dokle god korisnik ne unese Read more

Read More

Caesar Cipher

Requirements

Our authorities discovered a message written by Julie Caesar.

It is assumed he wrote a message to one of his soldiers (or maybe love letter to Cleopatra). Authorities could not understand the message. Further analysis showed the message Read more

Read More

Transformer

Requirements

Oh no! Some of the developers used snake_case instead of camelCase in our Java application. We created a script for renaming variable names but one part is missing – transforming actual value to camelCase format. 

Can you Read more

Read More