Login:  Password:    
forgot my password
sign up!
Search: 

Classpath: Exam questions - Sun Certified Java Programmer 310-065 - Lesson 45 | Java courses

In this video, we explore some exam questions that discuss the classpath.

0 0
Course:   Sun Certified Java Programmer 310-065
download the application please visit www.mrbool.com/player

Title: Classpath: Exam questions - Sun Certified Java Programmer 310-065 - Lesson 45

Duration:  16 minutes

Summary: In this video we continue our discussion of Java development. When compiling a ".java" file, we end up with a ".class" file. Those class files could be packaged together based on our business requirements. However, we need to point the Java runtime to the ".class" files to find them, or at least to use the correct one. To do so, we need to use the classpath. In this video, we explore some exam questions that discuss the classpath. We will be presented with a directory structure that contains some files and directories. Our options contain a list of classpath(s) so we can choose the one that leads us to the correct class file. We will also talk about assertions, and variable access (private versus protected).

Methodology of the development of example: Good coding standard and simplified design to prepare for the Java programmer certification exam CX-310-065.

Technology Used: Java - Core Concepts.

Keywords: class, object, classpath, package, jar files, import, static, System properties.


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...
4 comments have been posted.   Add your comment
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.

Matthew Casperson

When no explicit modifier is specified, it becomes package-private (see http://docs.oracle.com/javase/tutorial/java/javaOO/accesscontrol.html), and not private as it is suggested in the video. 


[+1 year ago]    Answer it
 
Matthew Casperson
Question 7 mentions that the assert statement was introduced in Java 1.4, but generics were introduced in 1.5. This means that the line

List<String> myList = new ArrayList<String>();

will not compile with the option -source 1.4. This is why option D for question 7 is not correct.

[+1 year ago]    Answer it
 
Mr.Bool Editor
We have forwarded your comment to the author. 
soon, he will contact.
[+1 year ago]   Answer it
 
Ayad
Thank you for the feedback Matthew.
[+1 year ago]   Answer it
 
Help us to improve! Give us your feedback:

Give your note to this post: 1 2 3 4 5 6 7 8 9 10
Is this post helpful? Yes No



[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits






mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2013 - all rights reserved to www.web-03.net