GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Java certification - OCA

Guilherme Neres Englisch 2 Karten

Karten in diesem Stapel (2)

  1. 1Consider the following two classes defined in two java source files. //in file /root/com/foo/X.java package com.foo; public class X{ public static int LOGICID = 10; public void apply(int i){ System.out.println("applied"); } } //in file /root/com/bar/Y.java package com.bar; //1 <== INSERT STATEMENT(s) HERE public class Y{ public static void main(String[] args){ X x = new X(); x.apply(LOGICID); } } What should be inserted at //1 so that Y.java can compile without any error?Teste
  2. 2—

Informationen

Beschreibung
Karteikarten am Java certification - OCA, erstellt von Guilherme Neres am 16/10/2019.
Erstellt von
Guilherme Neres
Aufrufe
2
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck