3i Infotech Papers: Sample Questions 901 - 902 of 1245

Examrace Placement Series prepares you for the toughest placement exams to top companies.

Question number: 901

» Languages » Java

Short Answer Question▾

Write in Short

Which can’t be passed to subroutine.

Explanation

  • Pre-processor directive can’t pass to subroutine.

  • A subroutine is a sequence of program instructions the perform a specific task, packaged as a unit.

  • This unit can then use in programs that particular task should performed.

  • Defined within programs, or separately in libraries that can used multiple program.

  • Compiled in a compiler, source code is processed by a program called preprocessor. This process is called preprocessing.

  • Commands used in pre-processor are called preprocessor directives and they begin with “#” symbol.

Question number: 902

» Languages » Java

Essay Question▾

Describe in Detail

Tell some latest versions in JAVA related areas.

Explanation

  • Java is a high-level programming language originally developed by sun microsystems and released in 1995.

  • It is a general-purpose concurrent, class-based, object-oriented, computer programming language specifically designed to reduce dependencies.

  • Machine independent architecture allows “write once, run anywhere”.

  • Java 8 was released on 18 march 2014.

  • Code names were dropped with java 8.

New Features in Java SE 8:

  • Lambda expressions.

  • Pipelines and streams.

  • Date and Time API

  • Default Methods.

  • Type annotations.

  • Nashhorn javascript Engine.

  • Concurrent Accumulators.

  • Parallel operations.

  • PermGen Error removed

  • TLS SNI