rightadventure.blogg.se

Core java oops concepts
Core java oops concepts










core java oops concepts
  1. #CORE JAVA OOPS CONCEPTS PORTABLE#
  2. #CORE JAVA OOPS CONCEPTS CODE#

The development process is more rapid and analytical since the linking is an incremental and light-weight process.

#CORE JAVA OOPS CONCEPTS CODE#

Interpreted − Java byte code is translated on the fly to native machine instructions and is not stored anywhere. This design feature allows the developers to construct interactive applications that can run smoothly. Multithreaded − With Java's multithreaded feature it is possible to write programs that can perform many tasks simultaneously. Robust − Java makes an effort to eliminate error prone situations by emphasizing mainly on compile time error checking and runtime checking. Compiler in Java is written in ANSI C with a clean portability boundary, which is a POSIX subset.

#CORE JAVA OOPS CONCEPTS PORTABLE#

Portable − Being architecture-neutral and having no implementation dependent aspects of the specification makes Java portable. Authentication techniques are based on public-key encryption.Īrchitecture-neutral − Java compiler generates an architecture-neutral object file format, which makes the compiled code executable on many processors, with the presence of Java runtime system. Secure − With Java's secure feature it enables to develop virus-free, tamper-free systems. If you understand the basic concept of OOP Java, it would be easy to master. Simple − Java is designed to be easy to learn. This byte code is distributed over the web and interpreted by the Virtual Machine (JVM) on whichever platform it is being run on. Platform Independent − Unlike many other programming languages including C and C++, when Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. Java can be easily extended since it is based on the Object model. Object Oriented − In Java, everything is an Object. Java is guaranteed to be Write Once, Run Anywhere. The new J2 versions were renamed as Java SE, Java EE, and Java ME respectively. For example: J2EE for Enterprise Applications, J2ME for Mobile Applications. With the advancement of Java and its widespread popularity, multiple configurations were built to suit various types of platforms. The latest release of the Java Standard Edition is Java SE 8. Save my name, email, and website in this browser for the next time I comment.Java programming language was originally developed by Sun Microsystems which was initiated by James Gosling and released in 1995 as core component of Sun Microsystems' Java platform (Java 1.0 ). Your email address will not be published. Spring interview questions Hibernate interview questions.Data structure and algorithm Interview Questions.restful web services interview questions.Method overloading and overriding interview questions.Java Serialization interview questions in java.Exceptional handling interview questions in java.Java Multithreading interview questions.That’s all about Oops interview questions. If One object contains another object, it is considered as aggregation.Ĭomposition is special type of aggregation.You may consider it as “restricted aggregation” If object contains another object and contained object can not exist without container object then this relationship is known as composition.This is one of the most asked Oops interview questions.Ĭar has a engine. It is also called as “has-a” relationship. What is aggregation?Īggregation is the special form of association. It defines multiplicities between two objects such as one to one, one to many, many to many. What is association?Īssociation is relationship between two objects. Method overridng is perfect exmple of dynamic binding. Method overloading is perfect example of static binding.ĭynamic binding is resolved at run time.

core java oops concepts

Static binding is resolved at compile time. 14.What is Static Binding and Dynamic Binding? If you do so, you will get compile time error. No, Constructor can not be declared as final.












Core java oops concepts