• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
 
Transition from C++ to Java
Walt SavitchUniversity of California,San Diegowsavitch@ucsd.edu
 
 
Java: even a simple program is.not simple
 public class Program1{public static void main(String[] arg){System.out.println("Hello World");}}
 
 
Some Similarities betweenC++ and Java
Simple (primitive) types: int, double, char Control Structures if-else, switch, while, for Arithmetic expressionsBoth have a string type:C++ string, Java String.ArraysBoth have classes.Both have a "main".
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...