Login:  Password:    
forgot my password
sign up!
Search: 
 
  This post is part of:
    Online course(s):   
 Sun Certified Java Programmer 310-065

System properties: Question about this concept - Sun Certified Java Programmer 310-065 - Lesson 46 | Java courses

In this video we will wrap up our discussion on Java Development. We will tackle questions that discuss packages, jar files and classpath(s).

"
download the application please visit www.mrbool.com/player

Title: System properties: Question about this concept - Sun Certified Java Programmer 310-065 - Lesson 46

Duration:  18 minutes

Summary: In this video we will wrap up our discussion on Java Development. We will tackle questions that discuss packages, jar files and classpath(s). First, we will start with system properties. System properties can be specified at the command line and programmatically. However, a property specified programmatically will take precedence over the value specified at the command line. We will see a question that covers this concept. Next, we will talk more about creating jar files and how we can reference them with the classpath. We will be given a directory structure that contains java files and jar files. We need to choose the correct command line option that references the jar file.

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.





Add a comment!
[Fechar]

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


Matthew Casperson
4/20/2012 1:42am
More information It is worth noting for question 8 that when building a String with null references, those references are printed as the string "null".



Answer it
 
Matthew Casperson
4/20/2012 2:7am
Question 11 is wrong In the video it is suggested that you can not use the -classpath option with the java command. This is incorrect. The -classpath option is clearly listed in the available options for the java command at http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/java.html#options.

The correct answer for question 11 is actually C, with some conditions:
  1. The GetJar class imports myApp.Foo (or myApp.*)
  2. The system class path lists the current directory (.)
Without the import statement, the class GetJar is not valid Java. Without the current directory being on the system classpath, you would need to run the following command:

/usr/java/latest/bin/java -classpath MyJar.jar:. GetJar


Answer it
 
Mr.Bool Editor
4/24/2012 1:30pm
RE:   We have forwarded your comment to the author. Soon, he will contact.

Answer it
 
Ayad
4/25/2012 7:26am
RE:   Thank you for the feedback Matthew.

Answer it
 



 
Help us to improve! Give us your feedback:
Give your note to the technical content
10 9 8 7 6 5 4 3 2 1
Give your note to the post's learning
10 9 8 7 6 5 4 3 2 1
Is this post helpful?
Yes No


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...


Go to author's Space


Post stats:
Favorited:
 1

Post actions:
[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 2012 - all rights reserved to www.web-03.net