Simple Java Program


SUBMITTED BY: Guest

DATE: Feb. 4, 2015, 5:09 p.m.

FORMAT: Java

SIZE: 351 Bytes

HITS: 509

  1. public class BitBinIT {
  2. public static void main(String[] BBIT)
  3. {
  4. int i = 65;//Declares the i as DataType Integer, and gives it the value 60. And initliazes it.
  5. double d = 6.5;//Declares the d as DataType Double, and gives it the value 6.0. And initliazes it.
  6. System.out.println(i + " Devided by 10 Equals " + d);
  7. }
  8. }

comments powered by Disqus