JAVA Questions
#1

[attachment=11934]
JAVA Questions
1) Java is an objectoriented programming language.What is an object?
Answer: An object consists of some data together with a set of subroutines that manipulate that data.(An object is a kind of "module," or selfcontained entity that communicates with the rest of the world through a welldefined interface.An object should represent some coherent concept or realworld object.)
2) What is a variable?
Answer: A variable is a memory location that has been given a name so that it can easily be referred to in a program.The variable holds a value, which must be of some specified type.The value can be changed during the course of the execution of the program.
3) Java is a "platformindependent language." What does this mean?
Answer: A Java program can be compiled once into a Java Bytecode program.The compiled program can then be run on any computer that has an interpreter for the Java virtual machine.Other languages have to be recompiled for each platform on which they are going to run.The point about Java is that it can be executed on many different types of computers without being recompiled.
4) What are the different types of qualifier and What is the default qualifier?
Answer: public, protected, private, package (default)
5) What is an applet?
Answer: Applet is a program which can get downloaded into a client environment and start executing there.
6) What is a thread?
Answer: Thread is a block of code which can execute concurrently with other threads in the JVM.
7) What are the ways in which you can instantiate a thread?
Answer: Using Thread class By implementing the Runnable interface and giving that handle to the Thread class.
8) What is the difference between interface and abstract class?
Answer: Abstract class defined with methods.Interface will declare only the methods.Abstract classes are very much useful when there is some functionality across various classes.Interfaces are well suited for the class, which varies in functionality but with the same method signatures.
9) What are the different driver types available in JDBC?
Answer: The driver types available in JDBC are:
a. A JDBC-ODBC bridge
b. A native-API partly Java technology-enabled driver
c. A net-protocol fully Java technology-enabled driver
d. A native-protocol fully Java technology-enabled driver
10) What are the states of a thread?
Answer: There are four states of thread:
a. Runnable
b. Not runnable
c. Dead
d. New
Reply
#2
(11) Why java is fully object oriented language?
Java is fully object oriented language because each and every thing managed by an object in java. And application made by java is fully protective, virus can not attacked on that.
Reply

Important Note..!

If you are not satisfied with above reply ,..Please

ASK HERE

So that we will collect data for you and will made reply to the request....OR try below "QUICK REPLY" box to add a reply to this page
Popular Searches: interviewers questions, questions for interviewing sugathakumari, hr questions, the giver socratic seminar questions, socratic seminar questions pride, questions for the interviewer, project questions in java,

[-]
Quick Reply
Message
Type your reply to this message here.

Image Verification
Please enter the text contained within the image into the text box below it. This process is used to prevent automated spam bots.
Image Verification
(case insensitive)

Possibly Related Threads...
Thread Author Replies Views Last Post
  Interview Questions and Answers interviewquestions 4 16,265 07-02-2017, 04:49 PM
Last Post: shabeer
  Interview Questions & Answers computer girl 0 16,868 08-06-2012, 11:09 AM
Last Post: computer girl
  Hibernate Interview Questions computer girl 0 16,632 07-06-2012, 04:21 PM
Last Post: computer girl
  Books & authors Related Questions , Answers computer girl 0 2,821 05-06-2012, 04:31 PM
Last Post: computer girl
  Coordinate Geometry Questions seminar class 1 5,502 21-07-2011, 11:13 AM
Last Post: smart paper boy
  C Questions seminar class 1 3,707 07-06-2011, 03:47 PM
Last Post: john.huston45
  Ten Tough Interview Questions and Ten Great Answers seminar class 0 11,328 22-04-2011, 03:18 PM
Last Post: seminar class
  Aptitude Questions seminar class 0 2,415 10-03-2011, 03:39 PM
Last Post: seminar class
  ASP.NET questions, part 1 seminar class 0 1,859 02-03-2011, 09:43 AM
Last Post: seminar class

Forum Jump: