Olen pulassa muutaman Java tehtävän takia.
Tarvitsisin hieman apua muutamassa kysymyksessä. Mitkä seuraavista ovat oikeita vastauksia:
1. Which of the following statements defines an interface
a. The way a class completes its tasks within a method oikea
b. The operations and attributes of an object
c. The way other objects interact with an object
d. The declaration of private attributes
4. What is the default constructor for the following class?
public class Penny {
String name = "lane";
}
a. Penny()
b. public Penny()
c. class()
d. String()
Kiitos vastauksista!
Javagurua kaivataan
mimmi..
2548
0Äänestä
Muut lukivat myös
Odottaa vastausta
Näihin keskusteluihin ei ole vielä vastattu. Ole ensimmäinen.
Vastaukset 2
Vanhimmat
mistä vain Javan alkeet-kirjasta.
niin homma selviää googlettamalla alta kahdessa minuutissa.