GoConqr has a new look! Let us know what you think.

Flashcards

Java certification - OCA

Guilherme Neres English 2 cards

Cards in this deck (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—

Information

Description
Flashcards on Java certification - OCA, created by Guilherme Neres on 16/10/2019.
Created by
Guilherme Neres
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?