Java Viva Questions And Answers Pdf

  • and pdf
  • Monday, May 17, 2021 11:58:44 AM
  • 5 comment
java viva questions and answers pdf

File Name: java viva questions and answers .zip
Size: 22787Kb
Published: 17.05.2021

What is JVM? The Java interpreter along with the run time environment required to run the Java application in called as Java virtual machine JVM.

Here Coding compiler sharing a list of 40 Java Objective Questions and Answers for freshers and experienced Java developers. All the best for your future and happy Java learning. This is an example of:. Extending two or more classes.

300 Core Java Interview Questions | Set 1

What is JVM? The Java interpreter along with the run time environment required to run the Java application in called as Java virtual machine JVM. What is the most important feature of Java? Java is a platform independent language.

What do you mean by platform independence? Platform independence means that we can write and compile the java code in one platform eg Windows and can execute the class in any other supported platform eg Linux,Solaris,etc. JDK is Java Development Kit which is for development purpose and it includes execution environment also. What are the access modifiers in Java? There are 3 access modifiers. Public, protected and private, and the default one if no identifier is specified is called friendly, but programmer cannot specify the friendly identifier explicitly.

What is are packages? A package is a collection of related classes and interfaces providing access protection and namespace management. What is meant by Inheritance and what are its advantages? Inheritance is the process of inheriting all the features from a class.

The advantages of inheritance are reusability of code and accessibility of variables and methods of the super class by sub classes. What is the difference between superclass and subclass? A super class is a class that is inherited whereas sub class is a class that does the inheriting.

What is an abstract class? An abstract class is a class designed with implementation gaps for sub classes to fill in and is deliberately incomplete.

What are the states associated in the thread? Thread contains ready, running, waiting and dead states. What is synchronization? Synchronization is the mechanism that ensures that only one thread is accessed the resources at a time.

What is deadlock? What is an applet? Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser.

What is the lifecycle of an applet? How do you set security in applets? What is a layout manager and what are different types of layout managers available in java AWT? A layout manager is an object that is used to organize components in a container.

What is JDBC? This API consists of a set of classes and interfaces to enable programs to write pure Java Database applications. What are drivers available? What is stored procedure? Stored procedure is a group of SQL statements that forms a logical unit and performs a particular task. Stored Procedures are used to encapsulate a set of operations or queries to execute on database.

What is the Java API? The Java API is a large collection of ready-made software components that provide many useful capabilities, such as graphical user interface GUI widgets. Why there are no global variables in Java? Global variables are globally accessible. Java does not support globally accessible variables due to following reasons: 1 The global variables breaks the referential transparency 2 Global variables creates collisions in namespace.

What are Encapsulation, Inheritance and Polymorphism? Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse.

Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions. What is the use of bin and lib in JDK? Bin contains all tools such as javac, appletviewer, awt tool, etc. What is method overloading and method overriding?

Method overloading: When a method in a class having the same method name with different arguments is said to be method overloading. Method overriding : When a method in a class having the same method name with same arguments is said to be method overriding.

What is the difference between this and super? It is very difficult to remember a set of numbers IP address to connect to the Internet. It maps one particular IP address to a string of characters. For example, www. What is URL? Remote Method Invocation RMI allows java object that executes on one machine and to invoke the method of a Java object to execute on another machine. The steps involved in developing an RMI object are: a Define the interfaces b Implementing these interfaces c Compile the interfaces and their implementations with the java compiler d Compile the server implementation with RMI compiler e Run the RMI registry f Run the application.

What is RMI architecture? RMI architecture consists of four layers and each layer performs specific functions: a Application layer — contains the actual object definition. Why Java? There is no perfect language, and you certainly will be programming in other languages in the future.

Do I really have to type in the programs in the book to try them out? Everyone should type in HelloWorld. There are not many. Java compilers treat them all to be equivalent. What are the rules regarding quotation marks? What is the meaning of the words public, static and void? What happens when you omit a brace or misspell one of the words, like public or static or main? It depends upon precisely what you do.

Try it out and see. Can a program use more than one command-line argument? Yes, you can put several, though we normally use only a few. What Java systems libraries and methods are available for me to use? How should I format my code?

How should I comment my code? What exactly is a. How do I get the symbol on my keyboard? Java prints out a ton of digits when I System. Use the method System. Try it and see. This convention was inherited from ancestral. For example, System.

Why do I need to declare the type of a variable in Java? Why is the type for real numbers called double? Historically, the type for floating point numbers was float, but they had limited accuracy. The type double was introduced as a floating point type with twice as much accuracy. Is it correct to say that using parentheses can only change Almost, with one surprising exception. Your email address will not be published.

The Java interpreter along with the run time environment required to run the Java application in called as Java virtual machine JVM 2. What is the base class of all classes? Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser Posted on by Leave a comment. Leave a Reply Cancel reply Your email address will not be published.

400+ TOP JAVA LAB VIVA Questions and Answers Pdf

Java has been a perennial contributor to the software development domain. It is not only necessary to learn and master Java skills but also to practice these skills in real-time. In this article, we bring you, some of the most sought after Java Interview Questions that will help you ace major interview processes and help test your skills and knowledge at its absolute. You can access various programming and technical courses on Great Learning Academy and get your free certificates. Java is a general-purpose programming language that is class-based, object-oriented and is very popular. Install Java through command prompt so that it can generate necessary log files to troubleshoot the issue.

Latest 60 Java Interview Questions And Answers Pdf

Java is a programming language and computing platform. It hits the top list of all the programming languages and has a wide range of job opportunities. The following Java Interview Questions for Freshers have been created specifically to get you familiarize with the nature of the question you can experience during your interview for the Java Programming Language subject.

There is the list of core Java interview questions. If there is any core Java interview question that has been asked to you, kindly post it in the ask question section. The answers to the Core Java interview questions are short and to the point. The core Java interview questions are categorized in Basics of Java interview questions, OOPs interview questions, String Handling interview questions, Multithreading interview questions, collection interview questions, JDBC interview questions, etc.

What is the right data type to represent a price in Java? Answer: BigDecimal, if memory is not a concern and Performance, is not critical, otherwise double with predefined precision. What is a class in Java? Answer: Java encapsulates the codes in various classes which define new data types.

Top Java Interview Questions and Answers for Freshers in 2021

It's a no-brainer that Java is one of the leading programming options for bagging a lucrative job. After all, the class-based, general-purpose, object-oriented programming language is one of the most widely used programming languages in the world.

 У м-меня его. Беккер покровительственно улыбнулся и перевел взгляд на дверь в ванную. - А у Росио. Капельки Росы.

Если кто-то в этой комнате считает, что ключ к шифру-убийце содержится еще где-то, помимо этого кольца, я готов его выслушать.  - Директор выдержал паузу. Никто не проронил ни слова. Он снова посмотрел на Джаббу и закрыл .

 Минутку! - отрезал Стратмор, вопросительно глядя на Хейла.  - Мне нужно закончить разговор.  - Он повернулся и направился к своему кабинету.


  1. Sick D. 18.05.2021 at 06:21

    The main distinction between fail-fast and fail-safe iterators is whether or not the collection can be modified while it is being iterated.

  2. Bastien T. 19.05.2021 at 00:52

    When a string is created in java, it's actually an object of Java. Lang. String class that gets created. After creation of this string object, all built-in methods of String class can be used on the string object.

  3. ClГ©mence R. 20.05.2021 at 15:17

    Download PDF We have compiled the most frequently asked Java Interview Questions and Answers that will help you prepare for the Basic Java interview questions that an interviewer might ask you during your interview.

  4. Arnaude L. 23.05.2021 at 05:19

    Losing my religion tab pdf el filibusterismo english version pdf free download

  5. Lissete V. 24.05.2021 at 13:28

    Core Java interview questions help you in preparing for java based interviews.