Core Java Interview Questions and Answers | Java Training in chandigarh| CBitss Technologies

Page 1


Core Java Interview Questions and Answers

In this tutorial, we have covered almost 10+ important core Java interview questions for freshers and experienced candidates. This post on JAVA Interview Questions is set up to enable you to comprehend the fundamental ideas of Java programming for interview purposes. All the important JAVA concepts are clarified here with examples for your simple understanding.


What is JAVA? Ans: Java is a high level programming language,easy to use and the platform is free. Java is a collection of objects. It was created by Sun Microsystems. There are a ton of uses, sites and Games that are created utilizing Java.


What are the features in JAVA? Ans: Features of Java: ●

Oops concepts ○

Object-oriented

Inheritance

Encapsulation

Polymorphism

Abstraction


What is JAVA? Ans: Java is a high level programming language,easy to use and the platform is free. Java is a collection of objects. It was created by Sun Microsystems. There are a ton of uses, sites and Games that are created utilizing Java.


What are the features in JAVA? Ans: Features of Java: ●

Oops concepts ○

Object-oriented

Inheritance

Encapsulation

Polymorphism

Abstraction


● Platform independent: A single program deals with various platforms without any modification. ● High Performance: Just In Time compiler enables high performance in Java. JIT changes over the bytecode into machine language and after that JVM begins the execution. ● Multi-threaded: A stream of execution is known as a Thread. JVM makes a thread which is called main thread. The client can make different threads by extending the thread class or by executing Runnable interface..


Related Article â—? How is Java platform independent? How does Java enable high performance? Ans: Java uses the Just In Time compiler to enable high performance. JIT is used to change the instructions in bytecodes.


What are the Java IDE’s? Ans: Eclipse and Netbeans are IDEs of Java. What do you mean by Constructor? Ans: The points below show what is a constructor: ● ● ● ● ●

At the point when another objects is made in a program a constructor gets appeal to corresponding to the class. The constructor is a strategy which has the same name from class name. On the off chance that a client doesn't make a constructor certainly a default constructor will be made. The constructor can be over-burden. If the user made a constructor with a parameter, he ought to make another constructor expressly without a parameter.


http://cbitss.in/java-training-in-chandigarh/


THANK YOU


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.