JAVA FEATURES Java is one of the most popular and widely used programming language Java has been one of the most popular programming language for many years Java is Object Oriented The Java codes are first compiled into byte code Then the byte code is run on Java Virtual Machine JVM regardless of the underlying architecture Java syntax is similar to C C But Java codes are always written in the form of classes and objects Java is used in all kinds of applications like mobile Applications Desktop Applications Web Applications Client Server Applications Enterprise Applications and many more When compared with C Java codes are generally more maintainable because Java does not allow many things which may lead bad inefficient programming if used incorrectly When compared with Python Java kind of fits between C and Python The programs written in Java typically run faster than corresponding Python programs and slower than C Like C Java does static type checking but Python does not COMPARISON OF JAVA WITH C ND C C C and Java all are the programming Languages C is a procedural language C is a object language Java is a pure object oriented language We can create our own package in Java but not in C and C Internet programming like Frame Applet is used in Java not in Java uses compiler and interpreter but in C and C uses We use multiple inheritance in C not in Java In Java we use interface instead of multiple inheritance In C there is no C compiler only inheritance C and C both are platform dependent that means you can t run the execute code in any other operating system Java is a platform independent language In C we use stdio h header file In C we use iostreaam h conio h header file but Java does not support any header files Pointers are used C and C language but Java will not support There is no Exception handling in C but it supported by Java and for pointers C In C no overloading In C supports overloading and in Java operator overloading not support Storage classes auto extern are supported by C and C but in Java not supported JAVA ENVIRONMENT Java environment includes a large number of development tools and hundreds of classes and methods The development tools are part of the system known as Java Development Kit JDK also known Application Programming Interface API Java is one of the most popular and widely used programming language and platform platform is an environment that helps to develop and run written in any programming language Java is easy and its syntax is simple and easy to understand It is based on C JAVA PROGRAMMING STRUCTURE A Java program involves the following sections Documentation Section Suggested Package Section Optional Import Section Optional Interface Section Optional Class Section Optional Main Method Section Essential
View Full Document