среда, 21 сентября 2011 г.

Learn Core JAVA in Easy Steps [Page 2]





The Features / Buzz Words / Characteristics / Advantages of JAVA:

  1. Simple
  2. Secure
  3. Platform Independent
  4. Portable
  5. Object Oriented
  6. Robust
  7. Distributed
  8. Dynamic
  9. High Performance
  10. Multithreaded
  11. Interpreted
  12. Architecture Neutral

Object Oriented:
  • Inheritance
  • Encapsulation
  • Polymorphism
  • Abstraction/Dynamic binding


How to Create and Execute a Program in Core Java:


there are two ways:
1. without Integrated Development Environment (IDE)
2. with Integrated Development Environment (IDE)


1.without IDE


Create: write your program in notepad and save it with .java extension.
[make sure that all class names are starting with capital letter and your filename must be the classname which has the main method]


Execute: open command prompt and write javac filename.java [this will compile your java file] then write java filename [this will run your compiled file].


2.with IDE


Eclipse and NetBeans are most popular IDEs for JAVA.
[as we have TC-Turbo C in C and C++]



Комментариев нет:

Отправить комментарий