Cloud with rain
.:G
G:.
0 and 1 serie, black on white
pulled card
myjsp.feelinglinux.com
ver. 1.1.9-4
Hallo, welcome to my world.
Here you can find some stuff about computer science.
<<< Enjoy your visit! >>>
0 and 1 serie, white on black

QUIZ GAME: Java

            Written: Maryna Pylnyk, 18/03/2017     

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. Did you know that Java language was initially called Oak after an oak tree that stood outside Gosling's office.
https://en.wikipedia.org/wiki/Java_(programming_language)

Which of these structures accepts null as a key?




Which one of the following interfaces has method ?




int result1 = 1000 % 60;
int result2 = 100 % 60;
System.out.println(result1+" / " +result2);

What is the output?






We have these statements:

String a = "Core";
String b = "Core";
String c = new String("Core");
String d = new String("Core");
System.out.println(
    (a == b)+"-"+
    (a.equals(b))+"-"+
    (c == d)+"-"+
    (c.equals(d)));

Which of the following is a valid output?







public void getValue() {
    String value = new String("pippo");
    String newValue = value.replace('p','b');
  return newValue;
}

What is the result of this method?







Advertisement


Is this article useful to you?
Share this article or put a "like" (top-right corner).
Thank you very much!


You need to enable the cookies and to accept the privacy policy to use the "share" and "like" functionalities.
Remove the cookie \"cookieconsent_status\" to change your choice.

 

Tools (myjsp.feelinglinux.com)
Gioco: allenamento con la tastiera Strumenti di codifica/decodifica URI (%-encoding) e Base64 Strumenti di calcolo online per IP e Reti
QUIZ GAME
Quiz game

Search @myjsp.feelinglinux.com

Advertisement