Posts

Showing posts from June, 2019

JUMP STATEMENTS in JAVA

JUMP STATEMENTS                                                                                          Java supports three jump statements: break, continue, and return. These statements transfer control to another part of your program. 1. break. 2. continue. 3. return. 1 The break statement ·          This statement is used to jump out of a loop. ·          On encountering a break statement within a loop, the execution continues with the   next statement outside the loop. ·          The remaining statements which are after the break and within the loop are skipped. ·        ...

Difference Between C++ and JAVA

C++ Java C++ was developed by  Bjarne Stroustrup . Development began in 1979. Java was developed by  James Gosling  and his team. Development began in 1991. C++ is a  compiled language . Java is both  compiled and interpreted . C++ programs are  platform dependent . They need to be compiled for a particular platform. Java programs are platform independent. C++ does support  operator overloading . Function overloading is also available. Java does not support operator overloading. However, function overloading is possible. C++ fully support  pointers . Java has restricted support for pointers. Pointers are supported internally you can not writer pointer programs. C++ supports  structures and union . Java does not support structures and union. C++ supports manual  object management  through  new  and  delete  keywords . Java r...

Difference Between C and JAVA

C Java Procedure Oriented Programming Language True Object oriented Programming Language C    was developed by  Dennis Ritchie .. Java was developed by  James Gosling  and his team. Development began in 1991. C is a  compiled language . Java is both  compiled and interpreted . C    programs are  platform dependent . They need to be compiled for a particular platform. Java programs are platform independent. C supports global variables Java does not supports global variables C    fully support  pointers . Java has restricted support for pointers. Pointers are supported internally you cannot writer pointer programs. C    supports  structures and union . Java does not support structures and union. C supports Preprocessors header files Java does not C supports Preprocessors header files C    supports  goto...