• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Oop lecture4
 

Oop lecture4

on

  • 171 views

 

Statistics

Views

Total Views
171
Views on SlideShare
171
Embed Views
0

Actions

Likes
0
Downloads
3
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Oop lecture4 Oop lecture4 Presentation Transcript

    • Lecture 4More concepts in OOP Object Oriented Programming Eastern University, Dhaka Md. Raihan Kibria
    • Classpath Classpath is a reference which needs to be provided to JRE/JVM to run classes The reference indicates the location where the classes are to be found Classpath is to be given as a switch to “java” command
    • Examplejava -cp c:temp B This means the class B is to be found under c:temp folder The above command can be issued from any folder Suppose B is under com package and com folder is under c:temp To run B, issue command: java -cp c:temp com.B
    • Example B.java was under c:tempcom folder. The package declaration for B.java was like: package com;
    • Installing and using JDKwww.oracle.com/technetwork/java/javase/dow nloads/index.htmlInstall by clicking the exe. Check if java command works in command line:java -version
    • Installing and using JDKCommon issues: java command not found: check that jdk/bin is referenced to under path
    • Tools that make you productive IDE: Integrated development envionment Example: – Eclipse, Netbeans, IntelliJ
    • Strengths and Advantages Summarize the special features and advantages of the product being introduced