Found 9344 Articles for Object Oriented Programming

What is the best IDE for Java besides Eclipse?

varma
Updated on 30-Jul-2019 22:30:20

185 Views

IntelliJ and NetBeans are the alternative IDE’s for Java development.

What is the difference between Object oriented programming and Object based programming?

Prabhas
Updated on 30-Jul-2019 22:30:20

13K+ Views

Many of us have a misconception that Java script is an object oriented language. But, the truth is Java Script is an Object Based Language. Object Based languages are different from Object Oriented Languages: Object Based Languages Object based languages supports the usage of object and encapsulation. They does not support inheritance or, polymorphism or, both. Object based languages does not supports built-in objects. Javascript, VB are the examples of object bases languages. Object Oriented Languages Object Oriented Languages supports all the features of Oops including inheritance and polymorphism. They support built-in objects. C#, Java, VB. Net ... Read More

What are the prerequisites for learning Java?

vanithasree
Updated on 30-Jul-2019 22:30:20

1K+ Views

In fact, you can directly start learning Java without any prior knowledge of programming language. But, the syntax in Java is similar to the syntax of the C programming language, therefore, Knowing C language helps to get hold of Java quickly. Having introduced to object-oriented principles before starting Java, also helps in the understanding of the language so, having an idea on object-oriented languages such as C++ also helps. In short, if you know C or C++ it will be a little bit easier to cope with Java technology.

Handling Exception and use of CX_ROOT directly and subclasses

Sai Nath
Updated on 14-Feb-2020 05:37:06

175 Views

It is not advisable to use CX_ROOT directly and you would require using one of its direct subclasses. Also, the propagation depends upon the exception subclass hierarchy.Subclasses of CX_STATIC_CHECK – these do not propagate automatically. You will need to do the handling yourself or there will be a syntax error in the program.Subclasses of CX_DYNAMIC_CHECK – these do not require any handling. But the program that does not handle the exception will be aborted with these subclasses.Subclasses of CX_NO_CHECK – These will get propagated automatically if the exception is not handled.

Advertisements