-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [ UO
C ~ I D ilea rning .o racle.com/ilearn/en/ learner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L 1~ 0 . ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline X
EJ() 2013201 5 Oracle kademy Em:ll' 1!1 e Section 0 Cou1.,.
Resources 8 Section 1 ~ 'Welcome and lntlu.
1!1 Secbon 2 tmng AliCe 3
1!1 Section 3 Using Green foot
0 & Java Fundamentals Midterm [ 1!10 Secbon ~ - Using
Eclipse 1!10 Secbon 5 U5\ng Control State
1!10 Section 6 l!singArra'}Sand 1!10 Section 7- Using
Recursion,
0 Java Ftmdamentats Fmal Exa 0 Appendix P:. Self Study GUide
V
00 Appendix P:. Self Study Guide V
0 0 Appendix P:. Self Study GuideS
0 0 Appendix P:. Self Study Guide L
0 0 Appendix P:. Self Study GUide C
00 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide C
0 0 Appendix P:. Self Study GUide 1
00 Appendix P:. Self Study GuideS
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study GUide~ 00 Appendix P:. Self Study
Guide C
Review your answers, feedback, and question scores below. An
aste1isk (*) indicates a correct answer. Section 4
(Answer all questions in this section) 1. You need to -
-----Java code to generate a .class file
Collect Compile (*)
Package Assemble
~ Correct 2. You can return to the Eclipse Welcome Page by
choosing Welcome from what menu?
File Edit
Help (* ) Close
~ Correct 3. For eve1y opening curly brace { there does not need
to be a closing curly brace} for the program to compile without
error. True or False?
True False (*)
~ C01rect 4. A workspace can not have more than one stored
projects. True or false?
True False (*)
~ Correct 5. In the image below, identify the components.
1 2 3 / ** 4 * @par am args 5 * I
Outline
Mark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
?
---
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO
+- C ~ I D ilea rning.o racle.com/ ilearn/en/ learner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L 1: 0 34 ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline
Outline X Correct 3. For eve1y opening curly brace { there does
not need to be a closing curly brace} for the program to compile
without error. T111e or False?
EJ() 20132015 Oracle kademy Em:ll' 1!1 Section 0 Cou1.,.
Resources 8 Section 1 ~ 'Welcome and lntlu.
1!1 Secbon 2 tmng Allee 3
1!1 Section 3 Using Green foot
0 & Java Fundamentals Midterm [ 1!10 Secbon ~ - Using
Eclipse 1!10 Secbon 5 U5\ng Control State
1!10 Section 6 l!singArra'}Sand 1!10 Section 7- Using
Recursion,
0 Java Ftmdamentats Fmal Exa 0 Appendix P:. Self Study GUide
V
00 Appendix P:. Self Study Guide V
0 0 Appendix P:. Self Study GuideS
0 0 Appendix P:. Self Study Guide L
0 0 Appendix P:. Self Study GUide C
00 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide C
0 0 Appendix P:. Self Study GUide 1
00 Appendix P:. Self Study GuideS
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study GUide~ 00 Appendix P:. Self Study
Guide C
True False (*)
~ C01rect 4. A workspace can not have more than one stored
projects. True or false>
True False (*)
~ Correct 5. In the image below, identify the components.
pac kage studyTool; ~ public c l as s Study Pa ge {
/ ** * @param args * I
public sta tic void main(String[] args )
1 2 3 4 5 6 7 8 9
1 0
//TODO Auto-generated method stub
11 12 13
}
}
A-Main Method, B-Ciass, C-Package A-Class, B-MainMethod,
C-Package
A-Package, B-Main ~tethod, C-Ciass (* ) None of the above
~ Correct
Page 1 of 10 I Next I I Summary I
AJ __./
-(B) { ~ f'-
~ __./
0 SnapShot: p rintscreen '\. x The screen shot has succesfully
been saved to disk
...
Mark for Review (1) Points
Mark for Review (1) Points
~lark for Review (1) Points
?
---
1m -
. ... ~~~~~~~~~~~~~~~~~- RO~ ~I IC >l 13:34 ' ';! ~ ... ~~
u
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO
+- C ~ I D ilea rning .o racle.com/ilearn/en/ learner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L 1: 0 34 ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline X
EJ() 2013201 5 Oracle kademy Em:ll' 1!1 e Section 0 Cou1.,.
Resources 8 Section 1 ~ 'Welcome and lntlu.
1!1 Secbon 2 . tmng Allee 3
1!1 Section 3 Using Green foot 0 & Java Fundamentals Midterm
[ 1!10 Secbon ~ - Using Eclipse 1!10 Secbon 5 U5\ng Control State
1!10 Section 6 Using Arrays and 1!10 Section 7- Using Recursion, 0
Java Ftmdamentats Fmal Exa 0 Appendix P:. Self Study GUide V
00 Appendix P:. Self Study Guide V 0 0 Appendix P:. Self Study
Guide S
0 0 Appendix P:. Self Study Guide L
0 0 Appendix P:. Self Study GUide C
00 Appendix P:. Self Study Guide II 0 0 Appendix P:. Self Study
Guide I '
0 0 Appendix P:. Self Study Guide C
0 0 Appendix P:. Self Study GUide 1
00 Appendix P:. Self Study Guide S
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study GUide~ 00 Appendix P:. Self Study
Guide C
Section 4 (Answer all questions in this section)
6. The following defines a class keyword:
o Defines where this class lives relative to other classes, and
provides a level of access control. Provides the compiler
information that identifies outside classes used within the current
class. Precedes the name of the class. (* )
G Incorrect. Refer to Section 4 Lesson 2. 7. Which of the
following defines a driver class>
Contains a main method and other static methods. (*) Contains
classes that define objects. Contains a main method, a package,
static methods, and classes that define objects. None of the
above.
~ Correct 8. Select the declaration and initialization statement
that will hold the letter J.
int letter='J'; float letter='J'; String letter='J';
char letter='J'; (* ) ~ C01rect
9. What is the output of the following lines of code?
int j=6,k=8,m=2,result; result=j-k%3*m; System. out. println(
result);
6 0 -42 2 (* ) ~ C01rect
10. Which of the following instantiates a String named name to
Oracle>
St1ing name; St>i ng Oracle="name"; St1ing name="name";
o St>i ng name="Oracle"; (* ) ~ Correct
Outline
SnapShot: printscreen The screenshot has succesfully been saved
to disk
...
Mark for Review (1) Points
~tark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
?
---
1m -
. ... ~~~~~~~~~~~~~~~~~- RO ~ --:_ ~I >C >l 13:34 r-'l' ~
... __ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--34 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste1isk (*) indicates a correct answer.
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO
+- C ~ I D ilea rning .o racle.com/ilearn/en/ learner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L 1: 0 34 ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline
Outline X
EJ() 2013201 5 Oracle kademy Em:ll' 1!1 e Section 0 Cou1.,.
Resources 8 Section 1 ~ 'Welcome and lntlu.
1!1 Secbon 2 tmng Allee 3
1!1 Section 3 Using Green foot 0 & Java Fundamentals Midterm
[ 1!10 Secbon ~ - Using Eclipse 1!10 Secbon 5 U5\ng Control State
1!10 Section 6 Using Arrays and 1!10 Section 7- Using Recursion, 0
Java Ftmdamentats Fmal Exa 0 Appendix P:. Self Study GUide V
00 Appendix P:. Self Study Guide V 0 0 Appendix P:. Self Study
Guide S
0 0 Appendix P:. Self Study Guide L 0 0 Appendix P:. Self Study
GUide C
00 Appendix P:. Self Study Guide II 0 0 Appendix P:. Self Study
Guide I '
0 0 Appendix P:. Self Study Guide C
0 0 Appendix P:. Self Study GUide 1
00 Appendix P:. Self Study Guide S 0 0 Appendix P:. Self Study
Guide I '
0 0 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study GUide~ 00 Appendix P:. Self Study
Guide C
3 4 5 6
True or false? True (*)
False
~ C01rect
System.out.print l n ( "Equal" ); els e
System.out.print l n ( "Not Equal");
13. The following code is an example of instantiating a String
object: String str = String( "Hello" ); True or false?
True False (*)
~ Conect 14. Given the code:
Section 5
String s = new String(" abc"); Which of the following statements
will change the length of s to the largest length?
s.trim() s.replace("a", "aa") s.substring(2) s.toUpperCase()
None of the above will change the length of s. (*) ~ Conect
(Answer all Questions in this section) 15. Which of the
following is true about a do-while loop?
It is a post-test loop. It is a modified while loop that allows
the program to run through the loop once before testing the boolean
condition.
It continues looping until the condition becomes false. All of
the above. (*)
0 Incorrect. Refer to Section 5 Lesson 2. Previous I Page 3 of
10 I Next I I Summary I 0 SnapShot: p rintscreen ~ x
The screen shot has succesfully been saved to disk
...
Mark for Review (1) Points
Mark for Review (1) Points
~tark for Review (1) Points
?
---
1m -
. ... ~~~~~~~~~~~~~~~~~- RO~ . ~I >C >l 13:34 ' 'l' ~ ...
__ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [ UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--34 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste>isk (*) indicates a correct answer. A
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI' What is the value of x after the loop has finished? What is
the value of count after the loop has finished?
int count= 17; int x = 1; while( count > x){ x*=3; count-=3;
}
4; 8; 27 3; 27; 8 (*) 5; 27; 8 5; 30; 5 3; 9; 11
~ C01rect 18. Which of the following are relational operators in
Java?
(Choose all correct answers) ., < (*) ., ,, = (*)
Mark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
~lark for Review (1) Points
. ... RO '""" """' ..... G I" >C ,; 13:34 -~~-------
------,
~ ----- - - - -------- s ~ v '=' . 16.05.2015
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO 1: 0 34 +- C ~ I D ilea rning .o
racle.com/ilearn/en/ learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L ~ 20132015 Oracle Academy
English Java Fundamentals- Student Outline X
EJ ... () 20132015 Oracle kademy Em:ll' 1!1 .. e Section 0
Cou1.,. Resources 8 Section 1 ~ 'Welcome and lntlu.
I!J .... Secbon 2 tmng Al>ee 3 I!J .... Section 3 tmng Green
foot 0 .. f) Java Fundamentals Midterm [ 1!1 .. 0 Secbon ~ - tmng
Eclipse 1!1 .. 0 Secbon 5 U5\ng Control State 1!1 .. 0 Section 6
tmngArra'}Sand 1!1 .. 0 Section 7- tmng Recursion, 0 Java
Ftmdamentats Fmal Exa 0 .... Appendix P:. Self Study GUide V
0 .. 0 Appendix P:. Self Study Guide V 0 .. 0 Appendix P:. Self
Study GuideS 0 .. 0 Appendix P:. Self Study Guide L
0 .. 0 Appendix P:. Self Study GUide C
0 .. 0 Appendix P:. Self Study Guide II
0 .. 0 Appendix P:. Self Study Guide I'
0 .. 0 Appendix P:. Self Study Guide C
0 .. 0 Appendix P:. Self Study GUide 1
0 .. 0 Appendix P:. Self Study GuideS
0 .. 0 Appendix P:. Self Study Guide I'
0 .. 0 Appendix P:. Self Study Guide II
0 .. 0 Appendix P:. Self Study GUide~ 0 .. 0 Appendix P:. Self
Study Guide C
x* =3; count-=3; }
4; 8; 27 3; 27; 8 (*)
5; 27; 8 5; 30; 5 3; 9; 11
~ Correct 18. Which of the following are relational operators in
Java?
(Choose all correct answers) ., < (*) ., , = >,,,l 13:34 '
'l' ~ ... __ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [UO C ~ I D ilea rning .o
racle.com/ilearn/en/ learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1~ 0 . -
--
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ?
Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~---------------------------------------------------------------------------------------------------------------------Review
your answers, feedback, and question scores below. An aste>isk
(*) indicates a correct answer.
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'
True (*) False
~ Correct 22. Which of the following best describes
lexicographical order>
A simple so>ting algorithm that is inefficient on large
a1rays. An order based on the ASCII value of characters. (*)
A complex sorting algorithm that is efficient on large a1rays.
The order of indicies after an a1ray has been sorted.
~ Correct 23. Binary searches can be pe>formed on sorted and
unsorted data. True or false>
True False (*)
~ C01rect 24. A sequntial search is an iteration through the
a>ray that stops at the index where the desired element is
found. True or false?
True (*) False
~ Correct 25. Which of the following declares and initializes a
one dimensional array named words of size 3 so that all entries can
be Strings?
String strings= new String[3]; String[)
word={"Over","the","mountain"} ; (*)
String[) word=new String[3); String[)
words={"Oracle","Academy"});
G Incorrect. Refer to Section 6 Lesson 1.
Previous I Page 5 of 10 I Next I I Summary I 0 SnapShot: p
rintscreen ~ x
The screen shot has succesfully been saved to disk
Mark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
. ... ~~~~~~~~~~~~~~~~~- RO~ . ~I >C >l 13:34 ' 'l' ~ ...
__ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--34 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste1isk (*) indicates a correct answer. A
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO
C ~ I D ilea rning .o racle.com/ilearn/en/ learner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L 1~ 0 . ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline
Outline X
EJ() 2013201 5 Oracle kademy Em:ll' 1!1 e Section 0 Cou1.,.
Resources 8 Section 1 ~ 'Welcome and lntlu.
1!1 Secbon 2 . tmng Allee 3
1!1 Section 3 Using Green foot 0 & Java Fundamentals Midterm
[ 1!10 Secbon ~ - Using Eclipse 1!10 Secbon 5 U5\ng Control State
1!10 Section 6 Using Arrays and 1!10 Section 7- Using Recursion, 0
Java Ftmdamentats Fmal Exa 0 Appendix P:. Self Study GUide V
00 Appendix P:. Self Study Guide V 0 0 Appendix P:. Self Study
Guide S
0 0 Appendix P:. Self Study Guide L
0 0 Appendix P:. Self Study GUide C
00 Appendix P:. Self Study Guide II 0 0 Appendix P:. Self Study
Guide I '
0 0 Appendix P:. Self Study Guide C
0 0 Appendix P:. Self Study GUide 1
00 Appendix P:. Self Study Guide S
0 0 Appendix P:. Self Study Guide I '
0 0 Appendix P:. Self Study Guide II
0 0 Appendix P:. Self Study GUide~ 00 Appendix P:. Self Study
Guide C
27. The following segment of code initializes a 2 dimensional
arrav of ptimitive data types. True or false?
double[)[] a=new double[ 4][5]; True (*)
False
~ Correct 28. Which of the following declares a one dimensional
array name scores of type int that can hold 14 values?
int scores; int[] scores= new int[14]; (* ) int[] scores= new
scores int[14]; int score= new int[14]; ~ C01rect
29. What is wrong with this code?
Section 7
1 t r y{ 2 3 4 5 6 7
i f ( x < 0 ) t hr ow new Exception ("Your a nswer i s nega t
i ve")i
catch { System. out.print l n ( "Enter your value a gain.");
It is missing a semicolon. It does not compile. (* )
It gives you an out of bounds exception. There is nothing wrong
with this code.
~ Conect
(Answer all Questions in this section) 30. What operator do you
use to call an object's constructor method and create a new
object>
+ new(* )
instanceOf ~ Correct
Previous I Page 6 of 10 I Next I Summary I 0 SnapShot: p
rintscreen ~ x The screen shot has succesfully been saved to
disk
~lark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
~lark for Review (1) Points
?
---
. ... ~~~~~~~~~~~~~~~~~- RO~ . ~I >C >l 13:34 ' 'l' ~ ...
__ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--34 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste>isk (*) indicates a correct answer. A
EJ ... () 2013-2015 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'
True False (*)
~ Correct 32. What is wrong with the following class
declaration?
class Account{ ; p>ivate int number; p1ivate String name;;
public Account; }
Classes cannot include strings. Classes cannot include mixed
data types.
The constructor method has no definition. (*) There is nothing
wrong.
~ Correct 33. Which of the following creates an instance of the
class below>
1 public c lass Thi sClass 2 3 4 5 6
priva t e i nt a=4, b=S; Th i sClass ( i n t x ) (
a=x*b ;
ThisCiass t=new ThisCiass(); ThisCiass t; ThisCiass t=new
ThisCiass(3,4);
ThisCiass t=new ThisCiass(S); (*) ~ Conect
34. All objects, in Java, are created using int. True or
false?
True False (*)
~ Correct 0 SnapShot: p rintscreen ~ x
The screen shot has succesfully been saved to disk
Mark for Review (1) Points
~lark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
. ... ~~~~~~~~~~~~~~~~~- RO~ . ~I >C >l 13:34 ' 'l' ~ ...
__ U
-
1H Facebook x T M Mesaje primrte - ionicalu x D Student Sign In
x D 2013-2015 Oracle Acader x [UO 1: 0 34 +- C ~ I D ilea rning
.oracle.com/ilearn/en/ learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L ~ 20132015 Oracle Academy
English Java Fundamentals- Student Outline X
EJ ... () 20132015 Oracle kademy Em:ll' 1!1 .. e Section 0
Cou1.,. Resources 8 Section 1 ~ 'Welcome and lntlu.
I!J .... Secbon 2 tmng Al>ee 3 I!J .... Section 3 tmng Green
foot 0 .. f) Java Fundamentals Midterm [ 1!1 .. 0 Secbon ~ - tmng
Eclipse 1!1 .. 0 Secbon 5 U5\ng Control State 1!1 .. 0 Section 6
tmngArra'}Sand 1!1 .. 0 Section 7- tmng Recursion, 0 Java
Ftmdamentats Fmal Exa 0 .... Appendix P:. Self Study GUide V
0 .. 0 Appendix P:. Self Study Guide V 0 .. 0 Appendix P:. Self
Study GuideS 0 .. 0 Appendix P:. Self Study Guide L
0 .. 0 Appendix P:. Self Study GUide C
0 .. 0 Appendix P:. Self Study Guide II
0 .. 0 Appendix P:. Self Study Guide I'
0 .. 0 Appendix P:. Self Study Guide C
0 .. 0 Appendix P:. Self Study GUide 1
0 .. 0 Appendix P:. Self Study GuideS
0 .. 0 Appendix P:. Self Study Guide I'
0 .. 0 Appendix P:. Self Study Guide II
0 .. 0 Appendix P:. Self Study GUide~ 0 .. 0 Appendix P:. Self
Study Guide C
~ Correct 32. What is wrong with the following class
declaration?
class Account{ ; private int number; private String name;;
public Account; }
Classes cannot include st>ings. Classes cannot include mixed
data types.
The constructor method has no definition. (* ) There is nothing
wrong.
~ Correct 33. Which of the following creates an instance of the
class below?
1 public c lass Th i sClass 2 3 4 5 6
priva t e i nt a=4 , b=S; Th i sClass ( i nt x ) (
a=x .... b ;
ThisCiass t=new ThisCiass(); ThisCiass t; ThisCiass t=new
ThisCiass(3,4);
ThisCiass !=new ThisCiass(5); (* ) ~ Correct
34. All objects, in Java, are created using int. True or
false?
True False (*)
~ Correct 35. A constructor is used to create objects. True or
false?
True (*) False
~ Correct
Previous I Page 7 of 10 I Next I Summary I
Outline
0 SnapShot: p rintscreen ~ x The screen shot has succesfully
been saved to disk
...
~tark for Review (1) Points
~tark for Review (1) Points
Mark for Review (1) Points
~tark for Review (1) Points
?
---
1m -
. ... ~~~~~~~~~~~~~~~~~- RO~ . ~I >C >l 13:34 ' 'l' ~ ...
__ U
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [ UO 1: 0
--35 -
+- C ~ I D ilea rning .o racle.com/ilearn/enjlearner/jsp/player
Jsp ?rco_id = 1340353197 &classroom_id =
1361817065&scorm_attem pt= 143176954275S&sessionld
=4256988481L
... ? 1m -Outline ~ 20132015 Oracle Academy English Java
Fundamentals- Student Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste1isk (*) indicates a correct answer. A
EJ ... () 2013-2015 Oracle kademy Em:ll' I!J .... Section 0 -
CoUI'
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x +- C ~ I D ilea rning .o
racle.com/ilearn/enj learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline
Outline X
EJ ... () 2013-2015 Oracle kademy Em:ll' I!J .... Section 0 -
CoUI'
-
1H Facebook x T M Mesaje primrte - ionicalu x C) Student Sign In
x D 2013-2015 Oracle Acader x [ UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--35 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste>isk (*) indicates a correct answer. A
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'
Because you wish to be able to use that object inside of the
method. It has faster pe>formance than returning a primitive
type.
The method makes changes to the object and you wish to continue
to use the updated object outside of the method. (* ) None of the
above. It is not possible to return an object. ~ Correct
43. Which segment of code represents a correct way to call a
variable argument method counter that takes in integers as its
variable argument parameter>
counter(St>ing a, int b); counter(int[] numbers);
o counter(!, 5, 8, 17, 11000005); (* )
counter("one","two",String[] nums); ~ C01rect
44. Which of the following is the correct definition of a
parameter?
A keyword that specifies accessibility of code. A way to call a
method with a va>iable number of arguments using an elipse. A
variable in a method declaration that gets passed into the method.
(*) A type of access specifier. It is used to assign initial values
to instance variables of a class; the structure is very similar to
that of a method.
0 Incorrect. Refer to Section 7 Lesson 2. 45. Non-final static
class variables should be private to prevent changes from other
classes. True or false>
True (*) False
~ Correct 0 SnapShot: p rintscreen ~ x
The screen shot has succesfully been saved to disk
Mark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
. ... ~~~~~~~~~~~~~~~~~- RO ~ . ~I >C >l 13:35 ' 'l' ~ ...
__ U
-
1H Facebook x T M M esaj e primrte - ionicalu x C) Student Sign
In x D 2013-2015 Oracle Acader x [ UO +- C ~ I D ilea rning .o
racle.com/ilearn/en/learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L 1: 0
--35 -
~ 20132015 Oracle Academy English Java Fundamentals- Student
Outline ... ? 1m -Outline ><
~~~ert~:~Ja~v~a~F~u~l~ld~~~~~~~~~l~s~f~il~l~~~~~------------------------------------------------------------------------------------------------------------------~
Review your answers, feedback, and question scores below. An
aste>isk (*) indicates a correct answer. A
EJ ... () 2013-201 5 Oracle kademy Em:ll' I!J ... e Section 0 -
CoUI'raylist nums = new Arraylist();
( l Ill ""I Ill
Mark for Review (1) Points
~lark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
Mark for Review (1) Points
. ... ~~~~~~~~~~~~~~~~~~~~~~-~~~~~~~~-R-o_'""' __ ~-s~,....~.
--.,.~~G~I"-.~.,~,C-,,~~13-:3_5_'
';! ~ ... __ ueo_'9_ ' _ - - ._ . _- _ um_ _____ j ~ v '=' .
16.05.2015
-
1H Facebook x T M Mesaje primrte ionicalu x D Student Sign In x
D 2013-2015 Oracle Acader x [ UO 1: 0 35 +- C ~ I D ilea rning .o
racle.com/ilearn/en/ learner/jsp/player Jsp ?rco_id = 1340353197
&classroom_id = 1361817065&scorm_attem pt=
143176954275S&sessionld =4256988481L ~ 20132015 Oracle Academy
English Java Fundamentals- Student Outline
Outline X
EJ ... () 20132015 Oracle kademy Em:ll' 1!1 ... e Section 0
CoUI'C >l 13:35 ' 'l' ~ ... __ U