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.

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.








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