Conceitos avançados de programação - Instituto de Informática - UFG
Conceitos avançados de programação - Instituto de Informática - UFG
Conceitos avançados de programação - Instituto de Informática - UFG
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
TypeCast <strong>de</strong> Tipos Primitivos V1 public class ExemploTypecast2 {2 public static void main(String[] args) {3 long varLong;4 int varInt;5 varLong = 200;6 varInt = (int) varLong;7 System.out.println(varInt);8 }9 }Prof. Fabrízzio Alphonsus A. M. N. Soares | <strong>Conceitos</strong> <strong>avançados</strong> <strong>de</strong> <strong>programação</strong> 13/103