Java Module 6

¡Supera tus tareas y exámenes ahora con Quizwiz!

Given the following code: public class RQ810A40 { static void print(Object... obj) { System.out.println("Object...: " + obj[0]); } public static void main(String[] args) { // (1) INSERT METHOD CALL HERE. } } Which method call, when inserted at (1), will not result in the following output from the program: Object...: 9 Select the one correct answer None of the above. print(new String[] {"9", "1", "1"}); print("9", "1", "1"); print(new Integer[] {9, 1, 1}); print(new Object[] {"9", "1", "1"}); print(new int[] {9, 1, 1}); print(9, 1, 1);

print(new int[] {9, 1, 1});

Which statement is true? Select the one correct answer. -static, unsigned, and long are keywords in the Java language. -new and delete are keywords in the Java language. -try, catch, and thrown are keywords in the Java language. -for, while, and next are keywords in the Java language. -return, goto, and default are keywords in the Java language. -exit, class, and while are keywords in the Java language.

return, goto, and default are keywords in the Java language In Java, the identifiers delete, thrown, exit, unsigned, and next are not keywords. Java has a goto keyword, but it is reserved and not currently used.

Which one of these declarations is a valid method declaration? Select the one correct answer. void method2() { /* ... */ } method4() { /* ... */ } void method1 { /* ... */ } method5(void) { /* ... */ } void method3(void) { /* ... */ }

void method2() { /* ... */ }

What will be the result of compiling and running the following program? public class Passing { public static void main(String[] args) { int a = 0; int b = 0; int[] bArr = new int[1]; bArr[0] = b; inc1(a); inc2(bArr); System.out.println("a=" + a + " b=" + b + "bArr[0]=" + bArr[0]); } public static void inc1(int x) { x++; } public static void inc2(int[] x) { x[0]++; }} The code will compile ad will print a=1 b=1 bArr[0]=1 at runtime. The code will compile and will print a=0 b=0 bArr[0]=0 at runtime. The code will compile and will print a=0 b=0 bArr[0]=1 at runtime. The code will compile and will print a=0 b=1 bArr[0]=1 at runtime. The code will fail to compile, since x[0]++; is not a legal statement.

The code will compile and will print a=0 b=0 bArr[0]=1 at runtime.

Given the following directory structure: /proj |--- src | |--- A.java | | |--- bin |--- top |--- sub |--- A.class Assume that the current directory is /proj/src. Which class path specifications will find the file A.class of the class top.sub.A declared in the file /proj/src/A.java? Select the two correct answers. -cp /proj/bin -cp .:../bin -cp /proj/bin/top -cp /proj/bin/top/sub/A.class -cp /proj -cp /proj/bin/top/sub

The correct answers are -cp .:../bin -cp /proj/bin

Which of the following do not denote a primitive data value in Java? Select the two correct answers. false 'k' "hello" 50.5F "t"

"hello" "t" primitive data can not be a string

Which of the following is not a legal comment in Java? Select the one correct answer. // // /* // */ // /* */ /* /* */ */ /* /* */ /* */ //

/* /* */ */

Which of the following are not legal literals in Java? Select the four correct answers. "What\'s your fancy?" 0xbad 09 0B_101_101 1_2e4f +_825 '\x'

09 0B_101_101 +_825 '\x' -In 0B_101_101, the first underscore is not between digits. -In 09, the digit 9 is not a valid octal (base 8) digit (valid octal digits are 0-7). -In +_825, again, the underscore is not between digits. -In '\x', there is no such escape sequence. While we can escape some letters (e.g. '\t' for tab characters), we can't arbitrarily escape any letter.

What will the following program print when run? public class ParameterPass { public static void main(String[] args) { int i = 0; addTwo(i++); System.out.println(i); } static void addTwo(int i) { i += 2; } } Select the one correct answer.

1

Which is the first line of a constructor declaration in the following code? Select the one correct answer. public class Counter { // (1) int current, step; public Counter(int startValue, int stepValue) { // (2) setCurrent(startValue); // (3) setStep(stepValue); } public int getCurrent() { return current; } // (4) public void setCurrent(int value { current = value; } // (5) public void setStep(int stepValue) { step = stepValue; } // (6) }

2

Given the following source code, which comment line can be uncommented without introducing errors? abstract class MyClass { abstract void f(); final void g() {} //final void h() {} // (1) protected static int i; private int j;} final class MyOtherClass extends MyClass { //MyOtherClass(int n) { m = n; } // (2) public static void main(String[] args) { MyClass mc = new MyOtherClass(); } void f() {} void h() {} //void k() { i++; } // (3) //void l() { j++; } // (4) int m; } (2) (4) (1) (3)

3

Which of the following is not a legal identifier? Select the one correct answer. odipus _class 52pickup a2z ca$h _8to5

52pickup is not a legal identifier. The first character of an identifier cannot be a digit. An underscore is treated as a letter in identifier names.

Given the following code, which statements express the most accurate association? (choose 3) class Carriage { } class TrainDriver { } class Train() { private Carriage carriages[]; private TrainDriver driver; Train(TrainDriver trainDriver, int noOfCarriages) { carriages = new Carriage[noOfCarriages]; driver = trainDriver; } void insertCarriage(Carriage newCarriage) { /* ... */ } } -A Train object owns Carriage objects. -A Train object owns an array of Carriage objects. -An array of Carriage objects is part of a Train object. -A Train object has an array of Carriage objects. -A TrainDriver object is part of a Train object. -A Train object owns a TrainDriver object. - A Train object has a TrainDriver object. -Carriage objects are part of a Train object. Select the three correct answers.

A Train object owns an array of Carriage objects. An array of Carriage objects is part of a Train object. A Train object has a TrainDriver object.

Which statement is true? Select the one correct answer. -Instance methods may access local variables of static methods. -Each object of a class has its own instance of the static variables declared in the class. -A static method can call other non-static methods in the same class by using the this keyword. -All methods in a class are implicitly passed the this reference as an argument, when invoked. -class may contain both static and non-static variables, and both static and non-static methods.

A class may contain both static and non-static variables, and both static and non-static methods.

What will be the result of compiling the following program? Select the one correct answer. public class MyClass { long var; public void MyClass(long param) { var = param; } // (1) public static void main(String[] args) { MyClass a, b; a = new MyClass(); // (2) b =new MyClass(5); // (3) }} A compile-time error will occur at (3) A compile-time error will occur at (2) A compile-time error will occur at (1) The program will compile without errors.

A compile-time error will occur at (3)

Which statements are true? Select the two correct answers. A constructor can be declared private. A constructor can access the non-static members of a class. A class must define a constructor. A constructor must initialize all fields when a class is instantiated. A constructor can return a value.

A constructor can be declared private. A constructor can access the non-static members of a class.

Which statement is true about methods? Select the one correct answer. -A method is a category of objects. -A method is an implementation of an abstraction. -A method is a blueprint for making operations. -A method is an operation defining the behavior for a particular abstraction. -A method is an attribute defining the property of a particular abstraction.

A method is an operation defining the behavior for a particular abstraction.

Which statement is true about the accessibility of members? Select the one correct answer. -A private member is always accessible within the same package. -A private member cannot be accessed at all. -A member with default accessibility can be accessed by any subclass of the class in which it is declared. -A private member can be accessed only within the class of the member. -Package / default accessibility for a member can be declared using the keyword default.

A private member can be accessed only within the class of the member.

Which statement is true about instance members? Select the one correct answer. -An instance member always represents an operation -An instance member is never a method -An instance member is always a field -An instance member is also called a static member -An instance member belongs to an instance, not to the class as a whole

An instance member belongs to an instance, not to the class as a whole

Which statement is true about objects? Select the one correct answer. An object is a blueprint for creating concrete realization of abstractions. An object is an instance of a class. An object is a reference. An object is a variable. An object is what classes are instantiated from.

An object is an instance of a class.

Given a class named Book, which one of these constructor declarations is valid for the class Book? Select the one correct answer. private final Book() {} abstract Book() {} Book(Book b) {} Book Book() {} public static void Book(String[] args) {} void Book() {}

Book(Book b) {}

Given the following code, which statements are true? class A { protected int value1; } class B extends A { int value2; } Select the two correct answers. -Objects of class A have a field named value 2. -Class A inherits from class B. -Class B is a subclass of class A. -Class B is the superclass of class A. -Class A extends class B. -Objects of class B have a field named value 1.

Class B is a subclass of class A. Objects of class B have a field named value 1.

In which of these variable declarations will the variable remain uninitialized unless it is explicitly initialized? Select the one correct answer. Declaration of a static variable of type float Declaration of a static variable of type Object Declaration of an instance variable of type int Declaration of a local variable of type float Declaration of an instance variable of type int[]

Declaration of a local variable of type float

Given the following code within a method, which statement is true? int i, j; j = 5; Select the one correct answer. Local variable j is initialized but not declared. Local variable j is declared but not initialized. Local variable i is not declared. Local variable j is not declared. Local variable i is declared but not initialized.

Local variable i is declared but not initialized.

How restrictive is the default accessibility compared to public, protected, and private accessibility? Select the one correct answer -More restrictive than private -More restrictive than public, but less restrictive than protected -Less restrictive than public -Less restrictive than protected from within a package, and more restrictive than protected from outside a package -More restrictive than protected, but less restrictive than private

More restrictive than protected, but less restrictive than private

The contents of two separate source code files are shown below (separated by hyphens ----). Which import statement, when inserted independently at (1), will make the code compile? // File: Window.java package app; public class Window { final static String frame = "Top-frame"; } ------------------------------------------------------- // File: Canvas.java package app; // (1) INSERT IMPORT STATEMENT HERE public class Canvas { private String str = frame; } Select the one correct answer. import app.Window; import static app.Window.frame; import java.lang.String; import java.lang.*; import app.*;

The correct answer is import static app.Window.frame;

Which statement is true about Java? Select the one correct answer. A Java program can create and destroy objects. Java bytecode cannot be translated to machine code. Only Java programs can be executed by a JVM. None of the above. A Java program can be executed by any JVM.

The correct answer is None of the above. The JVM must be compatible with the Java Platform on which the program was developed. The JIT feature of the JVM translates bytecode to machine code. Other languages, such as Scala, also compile to bytecode and can be executed by a JVM. A Java program can only create objects; destroying objects occurs at the disrection of the automatic garbage collector.

Given the following directory structure: /top |--- wrk |--- pkg |--- A.java |--- B.java Assume that the two files A.java and B.java contain the following code, respectively: // File: A.java package pkg; class A { B b; } _______________________________________________________ // File: B.java package pkg; class B { ... } For which combinations of the current directory and command is the compilation successful? Select the one correct answer. Current directory: /top/wrk/pkg Command: javac -cp . A.java Current directory: /top/wrk Command: javac -cp pkg A.java Current directory: /top/wrk Command: javac -cp .:pkg pkg/A.java Current directory: /top/wrk/pkg Command: javac A.java Current directory: /top/wrk Command: javac -cp . pkg/A.java Current directory: /top/wrkCommand: javac -cp .:pkg A.java

The correct answer is: Current directory: /top/wrk Command: javac -cp . pkg/A.java

Which statements, when inserted at (1), will result in a compile-time error? public class ParameterUse { static void main(String[] args) { int a = 0; final int b = 1; int[] c = { 2 }; final int[] d = { 3 }; use Args(a, b, c, d); } static void useArgs(final int a, int b, final int[] c, int[] d) { // (1) INSERT STATEMENT HERE. } } Select the two correct answers. b++; a++; b = a; d[0]++; c = d; c[0]++;

The correct answers are a++; c = d;

Which statements about modifiers are true? Select the two correct answers. -Classes can be declared as native. -Non-abstract methods can be declared in abstract classes. -Abstract classes can be declared as final. -Abstract classes can declare final methods. -Fields can be declared as native.

The correct answers are Abstract classes can declare final methods. Non-abstract methods can be declared in abstract classes.

Given the following class, which of these alternatives are valid ways of referring to the class from outside of the package net.basemaster? package net.basemaster; public class Base { // ... } Select the two correct answers. By simply referring to the class as Base By simply referring to the class as basemaster.Base By simply referring to the class as net.basemaster.Base By importing with net.*, and referring to the class as basemaster.Base By importing with net.basemaster.*, and referring to the class as Base

The correct answers are By simply referring to the class as net.basemaster.Base By importing with net.basemaster.*, and referring to the class as Base

Select the fWhich statements about the use of modifies are true? Select the two correct answers.ive correct answers. -Subclasses of a class must reside in the same package as the class they extend. -Local variables can be declared as static. -You cannot specify accessibility of local variables. They are accessible only within the block in which they are declared. -The objects themselves do not have any accessibility modifiers; only field references do. -If no accessibility modifier (public, protected, or private) is specified for a member declaration, the member is accessible only by classes in the package of its class and by subclasses of its class in any package.

The correct answers are You cannot specify accessibility of local variables. They are accessible only within the block in which they are declared. The objects themselves do not have any accessibility modifiers; only field references do.

The contents of three separate source code files are shown below (separated by hyphens ----). Which import statements, when inserted independently at (1), will make the code compile? // File: Window.java package mainpkg.subpkg1; public class Window {} ------------------------------------------------------- // File: Window.java package mainpkg.subpkg2; public class Window {} ------------------------------------------------------- File: Screen.java package mainpkg; // (1) INSERT IMPORT STATEMENTS HERE public class Screen { private Window win; } -import mainpkg.subpkg1.Window; import mainpkg.subpkg2.Window; -import mainpkg.*; -import mainpkg.subpkg1.*; import mainpkg.subpkg2.Window; -import mainpkg.subpkg2.*; -import mainpkg.subpkg1.*; import mainpkg.subpkg2.*; -import mainpkg.subpkg1.Window; import mainpkg.subpkg2.*; -import mainpkg.subpkg1.*;

The correct answers are import mainpkg.subpkg1.*; import mainpkg.subpkg2.*; import mainpkg.subpkg1.*;import mainpkg.subpkg2.Window; import mainpkg.subpkg1.Window;import mainpkg.subpkg2.*;

Given the source file A.java: // File: A.java package net.alphabet import java.util.ArrayList; public class A {} class B {} Select the two correct answers. -Both class A and class B can access the imported class java.util.ArrayList by its simple name. -Only class A can access the imported class java.util.ArrayList by its simple name. -Both class A and class B will be placed in the package net.alphabet. -Only class A will be placed in the package net.alphabet. Class B will be placed in the default package.

The correct answers are: Both class A and class B will be placed in the package net.alphabet. Both class A and class B can access the imported class java.util.ArrayList by its simple name.

Given the source file A.java: package top.sub; public class A {} and the following directory hierarchy: /proj |--- src | |--- top | |--- sub | |--- A.java |--- bin Assuming that the current directory is /proj/src, which of the following statements are true? Select the three correct answers. After successful compilation, the absolute pathname of the file A.class will be: /proj/bin/top/sub/A.class The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -D /proj/bin ./top/sub/A.java The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d . top/sub/A.java The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d ../bin top/sub/A.java After successful compilation, the absolute pathname of the file A.class will be: /proj/bin/A.class The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d /proj/bin top/sub/A.java

The correct answers are: The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d /proj/bin top/sub/A.java The following command will compile, and place the bytecode of the class top.sub.A under /proj/bin: javac -d ../bin top/sub/A.java After successful compilation, the absolute pathname of the file A.class will be: /proj/bin/top/sub/A.class

Given the following code: // (1) INSERT ONE IMPORT STATEMENT HERE public class RQ700A20 { public static void main(String[] args) { System.out.println(sqrt(49)); } } Which import statements, when inserted independently at (1), will make the program print 7.0 when the program is compiled and run? Select the two correct answers. import static Math.sqrt; import static java.lang.Math.sqrt(); import static java.lang.Math.*; import static Math.*; import static java.lang.Math.sqrt;

The correct answers are: import static java.lang.Math.sqrt; import static java.lang.Math.*;

Which of the following method declarations are valid declarations? Select the three correct answers. void compute(char[] ca, int... is) { } void compute(int... is) { } void compute(int is...) { } void compute(int... is, int i, String... ss) { } void compute(String... ss, int len) { } void compute(String... ds) { }

The correct answers are: void compute(int... is) { } void compute(String... ds) { } void compute(char[] ca, int... is) { } The ellipses (...) must be specified before the parameter name. Only one variable arity parameter is permitted, and it must be the last parameter in the formal parameter list.

Given the following pairs of method declarations, which statements are true? void fly(int distance) {} int fly(int time, int speed) { return time* speed; } void fall(int time) {} int fall(int distance) { return distance; } void glide(int time) {} void Glide(int time) {} Select the two correct answers. -The third pair of methods will ompile, and overload the method named glide. -The third pair of methods will not compile. -The first pair of methods will compile, and overload the method name fly. -The second pair of methods will compile, and overload the method name fall. -The first pair of methods will not compile. -The second pair of methods will not compile.

The first pair of methods will compile, and overload the method name fly. the second pair of methods will not compile.

What would be the result of compiling and running the following program? public class MyClass { public static void main(String[] args) { int size= 20; int[] arr = new int[ size ]; for (int i = 0; i < size; ++i) { System.out.println(arr[i]); } } } Select the one correct answer. -The code will not compile, because the array type int[] is incorrect. -The program will compile and run without error, but will produce no output. -The program will compile, but will throw an ArrayIndexOutOfBoundsException when run. -The program will compile and run without error, and will print 0 twenty times. -The program will compile and run without error, and will print the numbers 0 through 19. -The program will compile and run without error, and will print null twenty times.

The program will compile and run without error, and will print 0 twenty times.

What will be the result of compiling and running the following program? Select the one correct answer. public class Init { String title; boolean published; static int total; static doub le maxPrice; public static void main(String[] args) { Init initMe = new Init(); double price; if (true) price = 100.00; System.out.println("|" + initMe.title + "|" + initMe.published + "|" + Init.total + "|" + Init.maxPrice+ "|" + price + "|"); } } -The program will compile, and print |null|false|0|0.0|100.0| at runtime. -The program will compile, and print |null|false|0|0.0|0.0| at runtime. -The program will compile, and print |null|true|0|0.0|100.0| at runtime. -The program will compile, and print | |false|0|0.0|0.0| at runtime. -The program will fail to compile.

The program will compile, and print |null|false|0|0.0|100.0| at runtime.

What would be the result of compiling and running the following program? public class DefaultValuesTest { int[] ia = new int[1]; boolean b; int i; Object o; public static void main(String[] args) { DefaultValuesTest instance = new DefaultValuesTest(); instance.print(); } public void print() { System.out.println(ia[0] + " " + b + " " + i + " " + o); } } The program will print null false 0 null. The program will print 0 false NaN null. The program will print null 0 0 null. The program will throw a java.lang.NullPointerException when run. The program will fail to compile because of uninitialized variables. The program will print 0 false 0 null.

The program will print 0 false 0 null.

Which statement is true? Select the one correct answer. -The initial state of an array object constructed with the statement int[] a = new int[10] will depend on whether the array variable a is a local variable or a field. -Only static methods can access static members. -Constructors can be declared as abstract. -A subclass of a class with an abstract method must provide an implementation for the abstract method. -The values of transient fields will not be saved during serialization.

The values of transient fields will not be saved during serialization.

How do objects communicate in Java? Select the one correct answer. -They communicate by modifying each other's fields. -They communicate by calling each other's instance methods. -They communicate by calling static methods of each other's classes. -They communicate by modifying the static variables of each other's classes.

They communicate by calling each other's instance methods.

Given that Thing is a class, how many objects and how many references are created b the following code? Thing item, stuff; item = new Thing(); Thing entity = new Thing(); Select the two correct answers. -Two references are created -Three objects are created -one object is created -Three references are created -One reference is created - Two objects are created

Three references are created Two objects are created

4,1,3,5,8

Which lines that are marked will compile in the following code?

Is it possible to create arrays of length zero? Select the one correct answer. - No, it is not possible to create arrays of length zero in Java. -Yes, you can create arrays of any type with length zero. -Yes, but only for arrays of reference types. -No, you cannot create zero-length arrays, but the main() method may be passed a zero-length array of Strings when no program arguments are specified. -Yes, but only for primitive data types.

Yes, you can create arrays of any type with length zero. Java allows arrays of length zero. Such an array is passed as an argument to the main() method when a Java program is run without any program arguments

Which one of the following class declarations is a valid declaration of a class that cannot be instantiated? Select the one correct answer. abstract Ghost { abstract void haunt() ; } abstract class Ghost { void haunt() ; } class Ghost { abstract void haunt() ; } abstract class Ghost { void haunt() {} ; } abstract class Ghost { abstract haunt() ; }

abstract class Ghost { void haunt() {} ; }

Which one of these is not a legal member declaration within a class? Select the one correct answer. final Object[] fudge = { null } ; static int a; static final private double PI = 3.14159265358979323846; native void sneeze(); abstract int t;

abstract int t;

Given the following declaration, which expression returns the size of the array, assuming that the array reference has been properly initialized? Select the one correct answer. int[] array; array[].size array.size array.length array[].length array.size() array[].length() array.length() array[].size()

array.length is correct. In Java, arrays are objects. Each array object has a public final field named length that stores the size of the array.

Which of the following declarations are valid? Select the three correct answers. ch\u0061r a = 'a'; char \u0061 = 'a'; ch'a'r a = 'a'; char 'a' = 'a'; char a = '\u0061';

ch\u0061r a = 'a'; char \u0061 = 'a'; char a = '\u0061'; The \uxxxx notation can be used anywhere in the source to represent Unicode characters.

Which of the following primitive data types are not integer types? Select the three correct answers. double boolean byte float short

double boolean float

Given the following declaration of a class, which field is accessible from outside the package com.corporation.project? package com.corporation.project; public class MyClass { int i; public int j; protected int k; private int l;} Select the one correct answer .Field l is accessible in subclasses only in other packages. Field l is accessible in all classes in other packages. Field j is accessible in all classes in other packages. Field i is accessible in all classes in other packages. Field k is accessible in all classes in other packages. Field k is accessible in subclasses only in other package

field j is accessible in all classes in other packages.

Which one of the following class declarations is a valid declaration of a class that cannot be extended? Select the one correct answer. final class Link { } abstract class Link { } native class Link { } class Link { } abstract final class Link { }

final class Link { }

Which statements, when inserted at (1) in the code shown below, will not result in compile-time errors? Select the three correct answers. public class ThisUsage { int planets; static int suns; public void gaze() { int i; // (1) INSERT STATEMENT HERE } } i = this.suns; i = this.planets; this.i = 4; this = new ThisUsage(); this.suns = planets;

i = this.suns; i = this.planets; this.suns = planets;

Which integral type in Java has the exact range from -2147483648 (i.e. -231) to 2147483647 (i.e. 231-1), inclusive? Select the one correct answer.

int

Which one of the following array declaration statements is not legal? Select the one correct answer. int []a[] = new int [4][4]; int a[][] = new int[4][4]; int []a[] = new int[4][]; int a[][] = new int[][4]; int [][]a = new int[4][4];

int a[][] = new int[][4]; is not a legal declaration. The [] notation can be placed both after the type name and after the variable name in an array declaration. Multidimensional arrays are created by constructing arrays that contain references to other arrays. The expression new int[4][] will create an array of length 4, which can contain references to arrays of int values. The expression new int[4][4] will also create a two-dimensional array, but will in addition create four more one-dimensional arrays, each of length 4 and of the type int[]. References to each of these arrays are stored in the two-dimensional array. The expression int[][4] will not work because the arrays for the dimensions must be created from left to right.

Which of these array declaration statements are not legal? Select the two correct answers. int i[] = new int[2] {1, 2}; int[] i[] = { {1, 2}, {1}, {}, {1, 2, 3} }; int i[][] = new int[][] { {1, 2, 3}, {4, 5, 6} }; nt i[4] = {1, 2, 3, 4}; int i[][] = { {1, 2}, new int[2] };

int i[] = new int[2] {1, 2}; and int i[4] = {1, 2, 3, 4}; are not legal. Notice that array sizes are specified in addition to initialization code. The size of an array is determined implicitly by the initialization code, it is never specified in the declaration of an array reference. The size of an array is always associated with the array instance (on the right-hand side), not the array reference (on the left-hand side

Which command from the JDK should be used to execute the main() method of a class name SmallProg? Select the one correct answer. -java SmallProg.main() -java SmallProg.class -javac SmallProg -java SmallProg -java SmallProg.java

java SmallProg

Which command from the JDK should be used to compile the following source code contained in a file named SmallProg.java? Select the one correct answer. public class SmallProg { public static void main(String[] args) { System.out.println("Good luck!"); } } javac SmallProg javac SmallProg.java java SmallProg.java java SmallProg java SmallProg main

javac SmallProg.java


Conjuntos de estudio relacionados

The Nervous System Chapter 10 A&P

View Set

Retirement Planning and Employee Benefits - Social Security

View Set

CCNAv2 - Module 14, Routing Concepts

View Set

Chapter 11: Health Problems of the Infant

View Set