What is reflection and its use in Java?
Reflection is commonly used by programs which require the ability to examine or modify the runtime behavior of applications running in the Java virtual machine. This is a relatively advanced feature a...
What is the difference between one dimensional array and multidimensional array?
A one-dimensional array is a structured collection of components (often called array elements) that can be accessed individually by specifying the position of a component with a single index value.Two...
A single array denotes only row data but two dimentional array denotes the data in the form of rows and colums.
What is a difference between equals & ==
equals is the method of object used for comparing the objects where as == is used for numberic comparisions
= means the assingmentEX:a=10;b=a;then b=10;== means equality checkinga=10;b=10;if(a==b)System.out.println("equal");elseSystem.out.println("not equql");
Why Java is not 100% object oriented?
because in c language we use primitive data type such as int , char , boolean but c is not object oriented language. but java use all primitive type object so we can say that java is not 100 % oop lang..
Java is an OOP language but not a pure Object Oriented Programming Language.There are six qualities to make a programming language to be pure Object Oriented. They are: i) Encapsulation/Data Hiding ii...
If you want to pass information into a program when you run it then command-line arguments are to main( ).
A) trueb) false
A paramter is a variable defined by a method that receives a value when the method is called.
A) trueb) falseexplanation: a argument is a variable defined by a method that receives a value when the method is called.
I agree with Neeraj's statement.
Well, An argument is what you pass to a function while calling. And parameter is a variable defined by the function to receive that value.
The variable receiving the value returned by a method must also be compatible with the return type specified for the method.
Yes, it is true. The variable returned by a method must be compatible with the return type.
it is True the avriable receiving the value must be compatible.
In this example class-var = new classname( ); class-var is a variable of the class type being created
In this Question in the given example class-var is nothing but an object of class classname
no its not create a object
In Java, all class objects need not be dynamically allocated
I think it is true. Because, we use initalize some variables which are not dynamic.For eg: int i = 10;
What are the things you wish to achieve in 5 years?
Have you gone above and beyond your job description?
How to handle academic gap while applying for a job?
Aptitude Test Preparation Tips
Careers and Higher Education Options for BBA Graduates
Tell me three things about you, which are not found in your resume
What do you think about continuous learning?
Describe a time when you had to work under pressure.
How do you handle conflict?
Does a problem make you a better person?
Ask Interview Question?
Have Career Question?
Ask Only Career questions.