hiltvirginia.blogg.se

40 java collections interview questions and answers
40 java collections interview questions and answers











40 java collections interview questions and answers

We can read a file line by line in Java in two ways. The dog has its states such as color, name, breed, and behaviors such as barking, eating, wagging her tail. This is the reason why Java is not 100% object-oriented language.Įxample: A dog is an object of Animal class. These primitive data types are not object oriented.

40 java collections interview questions and answers

Java is not a pure Object Oriented Language because it supports primitive data type such as byte, boolean, char, double, float, int, long, short. It doesn’t occupy memory for each thread. The multithreading concept of Java shares a common memory area.

  • Multithreaded: Java Multithreaded features allows us to write programs that can perform many tasks simultaneously.
  • High Performance: Java enables high performance with the use of JIT (Just-In-Time) compilers.
  • Secured: Java is well known for its security.
  • Without any modifications, we can use a program on different platforms. Java is a write once, run anywhere language.
  • Platform independent: Java is platform-independent.
  • #40 java collections interview questions and answers verification#

    Portable: Java run time environment uses a bytecode verification process to make sure that code loaded over the network doesn’t violate Java security constraints.Object-Oriented: Java is an object-oriented programming language.Even though Java is based on C++, it was developed by eliminating poor programming practices of C++. Some of the features which play an important role in the popularity of java are as follows:













    40 java collections interview questions and answers